Skip to content

InputRichBlockButtons

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
List of 1-8 buttons to send
alignStringOptional
Values:leftcenterright
Optional. Horizontal alignment of the buttons. Currently, must be one of "left", "center", or "right".

GramIO Usage

See Also