Layer 231
constructor
pageBlockDocument#38fa3ba3 document_id:long caption:PageCaption = PageBlock;

Parameters

Name Type Description
DocumentId long ID of the document
Caption PageCaption Caption

Returns

PageBlock

Gogram Example

// Creating PageBlockDocument constructor
obj := &tg.PageBlockDocument{
    DocumentId: int64(1234567890),
    Caption: &tg.PageCaptionObj{},
}