Skip to content

GramIO API Reference / gramio/dist / TelegramInputRichBlockButtons

Interface: TelegramInputRichBlockButtons

Defined in: @gramio/types/out/objects.d.ts:8792

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

Documentation

Properties

PropertyTypeDescriptionDefined in
align?TelegramInputRichBlockButtonsAlignOptional. Horizontal alignment of the buttons. Currently, must be one of “left”, “center”, or “right”.@gramio/types/out/objects.d.ts:8804
buttonsTelegramRichMessageButton[]List of 1-8 buttons to send@gramio/types/out/objects.d.ts:8800
type"buttons"Type of the block, always “buttons”@gramio/types/out/objects.d.ts:8796