Skip to content

RichBlockButtons

A block containing a list of buttons that are shown in one row, corresponding to the custom HTML tag <tg-button-row>.

Fields

typeString = buttonsRequired
Type of the block, always "buttons"
buttonsRichMessageButton[]Required
The buttons
alignStringOptional
Values:leftcenterright
Optional. Horizontal alignment of the buttons. Currently, must be one of "left", "center", or "right".

GramIO Usage

See Also