VideoSize

class pyrogram.raw.types.VideoSize

An animated profile picture in MPEG4 format

Constructor of VideoSize.

Details:
  • Layer: 223

  • ID: DE33B094

Parameters:
  • type (str) – u for animated profile pictures, and v for trimmed and downscaled video previews

  • w (int 32-bit) – Video width

  • h (int 32-bit) – Video height

  • size (int 32-bit) – File size

  • video_start_ts (float 64-bit, optional) – Timestamp that should be shown as static preview to the user (seconds)

TL Schema

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

= VideoSize

Parameter Tree

VideoSize
├── typestring
├── wint
├── hint
├── sizeint
└── video_start_tsdouble (optional)

Example

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