BotMenuButton#

class pyrogram.raw.base.BotMenuButton#

Indicates the action to execute when pressing the in-UI menu button for bots

Constructors:

This base type has 3 constructors available.

BotMenuButton

Telegram API type.

BotMenuButtonCommands

Telegram API type.

BotMenuButtonDefault

Telegram API type.

Functions:

This object can be returned by 1 function.

bots.GetBotMenuButton

Gets the menu button action for a given user or for all users, previously set using bots.setBotMenuButton; users can see this information in the botInfo constructor.