Link Search Menu Expand Document

Constructor: videoSize

Back to constructors index

An animated profile picture in MPEG4 format

Attributes:

NameTypeRequiredDescription
typestringYesu for animated profile pictures, and v for trimmed and downscaled video previews
wintYesVideo width
hintYesVideo height
sizeintYesFile size
video_start_tsdoubleOptionalTimestamp that should be shown as static preview to the user (seconds)

Type: VideoSize

Example:

$videoSize = ['_' => 'videoSize', 'type' => 'string', 'w' => int, 'h' => int, 'size' => int, 'video_start_ts' => double];