inputrichblockbuttons

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

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

Fields

FieldTypeRequiredDescription
typeStringAlwaysType of the block, always "buttons"
buttonsArray of RichMessageButtonAlwaysList of 1-8 buttons to send
alignStringOptionalHorizontal alignment of the buttons. Currently, must be one of "left", "center", or "right".
Botlify Cloud Runtime
Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.