Layer 224
VideoSizeObj
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 |
|---|---|---|
| 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 VideoSizeObj constructor obj := &tg.VideoSizeObj{ Type: "Hello, World!", W: 42, H: 42, Size: 42, // Optional fields: // VideoStartTs: 3.14159, }