Layer 220
VideoSize
An animated profile picture in MPEG 4 format
constructor
videoSize#de33b094 flags:# type:string w:int h:int size:int video_start_ts:flags.0?double = VideoSize;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Type | string | u for animated profile pictures, and v for trimmed and downscaled video previews |
| W | int | Video width |
| H | int | Video height |
| Size | int | File size |
| VideoStartTs | flags.0?double | Timestamp that should be shown as static preview to the user (seconds) |
Returns
VideoSizeGogram Example
// Creating VideoSize constructor obj := &tg.VideoSize{ Type: "...", W: 0, H: 0, Size: 0, // Optional fields: // VideoStartTs: 0.0, }