Rich messages

InputRichBlockButtons

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

fields

fieldtyperequireddescription
typestringrequiredType of the block, always “buttons”
buttonsRichMessageButton[]requiredList of 1-8 buttons to send
align"left" | "center" | "right"optionalOptional. Horizontal alignment of the buttons. Currently, must be one of “left”, “center”, or “right”.

import

types.ts
import type { InputRichBlockButtons } from "@yaebal/types";

used by

types