MenuButtonCommands#

class aiogram.types.menu_button_commands.MenuButtonCommands(*, type: ~typing.Literal[<MenuButtonType.COMMANDS: 'commands'>] = MenuButtonType.COMMANDS, text: str | None = None, web_app: ~aiogram.types.web_app_info.WebAppInfo | None = None, **extra_data: ~typing.Any)[source]#

Represents a menu button, which opens the bot’s list of commands.

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

type: Literal[MenuButtonType.COMMANDS]#

Type of the button, must be commands