Layer 227
constructor
pageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock;

Parameters

Name Type Description
FullWidth flags .0? true Whether the block should be full width
AllowScrolling flags .3? true Whether scrolling should be allowed
Url flags .1? string Web page URL, if available
Html flags .2? string HTML-markup of the embedded page
PosterPhotoId flags .4? long Poster photo, if available
W flags .5? int Block width, if known
H flags .5? int Block height, if known
Caption PageCaption Caption

Returns

PageBlock

Gogram Example

// Creating PageBlockEmbed constructor
obj := &tg.PageBlockEmbed{
    FullWidth: nil,
    AllowScrolling: nil,
    Url: "Hello, World!",
    Html: "Hello, World!",
    PosterPhotoId: nil,
    W: nil,
    // ... more required fields
}