RichBlockButtons

class aiogram.types.rich_block_buttons.RichBlockButtons(*, type: Literal[RichBlockType.BUTTONS] = RichBlockType.BUTTONS, buttons: list[RichMessageButton], align: str | None = None, **extra_data: Any)[source]

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

Source: https://core.telegram.org/bots/api#richblockbuttons

type: Literal[RichBlockType.BUTTONS]

Type of the block, always ‘buttons’

buttons: list[RichMessageButton]

The buttons

align: str | None

Optional. Horizontal alignment of the buttons. Currently, must be one of ‘left’, ‘center’, or ‘right’