Layer 220
constructor
pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector<PageBlock> caption:PageCaption = PageBlock;

Parameters

Name Type Description
Url string Web page URL
WebpageId long ID of generated webpage preview
AuthorPhotoId long ID of the author's photo
Author string Author name
Date int Creation date
Blocks Vector<PageBlock> Post contents
Caption PageCaption Caption

Returns

PageBlock

Gogram Example

// Creating PageBlockEmbedPost constructor
obj := &tg.PageBlockEmbedPost{
    Url: "...",
    WebpageId: int64(0),
    AuthorPhotoId: int64(0),
    Author: "...",
    Date: 0,
    Blocks: []tg.PageBlock{&tg.PageBlock{}},
    // ... more required fields
}