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>.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
align? | TelegramInputRichBlockButtonsAlign | Optional. Horizontal alignment of the buttons. Currently, must be one of “left”, “center”, or “right”. | @gramio/types/out/objects.d.ts:8804 |
buttons | TelegramRichMessageButton[] | 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 |