MadelineProtoDocs/docs/API_docs/constructors/videoSize.md
2024-05-01 14:53:46 +02:00

1.1 KiB

title description nav_exclude image
videoSize An animated profile picture in MPEG4 format true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: videoSize

Back to constructors index

An animated profile picture in MPEG4 format

Attributes:

Name Type Required Description
type string Yes u for animated profile pictures, and v for trimmed and downscaled video previews
w int Yes Video width
h int Yes Video height
size int Yes File size
video_start_ts double Optional Timestamp 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];