Layer 220
constructor
pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Autoplay flags.0?true Whether the video is set to autoplay
Loop flags.1?true Whether the video is set to loop
VideoId long Video ID
Caption PageCaption Caption

Returns

PageBlock

Gogram Example

// Creating PageBlockVideo constructor
obj := &tg.PageBlockVideo{
    VideoId: int64(0),
    Caption: &tg.PageCaption{},

    // Optional fields:
    // Autoplay: true,
    // Loop: true,
}