Layer 220
constructor
pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector<PageBlock> title:RichText = PageBlock;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Open flags.0?true Whether the block is open by default
Blocks Vector<PageBlock> Block contents
Title RichText Always visible heading for the block

Returns

PageBlock

Gogram Example

// Creating PageBlockDetails constructor
obj := &tg.PageBlockDetails{
    Blocks: []tg.PageBlock{&tg.PageBlock{}},
    Title: &tg.RichText{},

    // Optional fields:
    // Open: true,
}