Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
View this page
Toggle table of contents sidebar

# MenuButtonCommands

class telegram.MenuButtonCommands(*, api_kwargs=None)

  Bases: `telegram.MenuButton`

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

  Use In

  `telegram.Bot.set_chat_menu_button()`

  Returned In

  `telegram.Bot.get_chat_menu_button()`

  Added in version 20.0.

  type

    `'commands'`.

    Type:

      `str`