Layer 224
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

VideoSize

Gogram Example

// Creating VideoSizeObj constructor
obj := &tg.VideoSizeObj{
    Type: "Hello, World!",
    W: 42,
    H: 42,
    Size: 42,

    // Optional fields:
    // VideoStartTs: 3.14159,
}