VideoSize

class pyrogram.raw.base.VideoSize

Represents an animated video thumbnail

Constructors:

This base type has 3 constructors available.

VideoSize

An animated profile picture in MPEG4 format

VideoSizeEmojiMarkup

An animated profile picture based on a custom emoji sticker.

VideoSizeStickerMarkup

An animated profile picture based on a sticker.

TL Schema

videoSize#de33b094
flags:#
type:string
w:int
h:int
size:int
video_start_ts:flags.0?double

= VideoSize

Parameter Tree

VideoSize
├── type → string
├── w → int
├── h → int
├── size → int
└── video_start_ts → double (optional)

Example

VideoSize(
    type="text",
    w=0,
    h=0,
    size=0,
    video_start_ts=0.0,
)