Layer 231
constructor
pageBlockButtonRow#6d640318 flags:# align_left:flags.0?true align_center:flags.1?true align_right:flags.2?true buttons:Vector<PageButton> = PageBlock;

Parameters

Name Type Description
AlignLeft flags.0?true Align the buttons to the left
AlignCenter flags.1?true Center the buttons
AlignRight flags.2?true Align the buttons to the right
Buttons Vector<PageButton> The buttons

Returns

PageBlock

Gogram Example

// Creating PageBlockButtonRow constructor
obj := &tg.PageBlockButtonRow{
    Buttons: []tg.PageButton{&tg.PageButtonObj{}},

    // Optional fields:
    // AlignLeft: true,
    // AlignCenter: true,
    // AlignRight: true,
}