InputRichBlockButtons
A block containing a list of buttons that are shown in one row, corresponding to the custom HTML tag <tg-button-row>.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the block, always “buttons” |
buttons | RichMessageButton[] | required | List of 1-8 buttons to send |
align | "left" | "center" | "right" | optional | Optional. Horizontal alignment of the buttons. Currently, must be one of “left”, “center”, or “right”. |
import
import type { InputRichBlockButtons } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#inputrichblockbuttons