VideoSize
- class pyrogram.raw.types.VideoSize
An animated profile picture in MPEG4 format
Constructor of
VideoSize.- Details:
Layer:
223ID:
DE33B094
- Parameters:
type (
str) – u for animated profile pictures, and v for trimmed and downscaled video previewsw (
int32-bit) – Video widthh (
int32-bit) – Video heightsize (
int32-bit) – File sizevideo_start_ts (
float64-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
├── type →
string├── w →
int├── h →
int├── size →
int└── video_start_ts →
double (optional)Example
VideoSize(
type="text",
w=0,
h=0,
size=0,
)