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

Parameters

Name Type Description
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{
    Open: nil,
    Blocks: &tg.VectorPageBlock{},
    Title: &tg.RichText{},
}