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

Bot menu button that opens a web app when clicked.

BotMenuButtonCommands

Bot menu button that opens the bot command list when clicked.

BotMenuButtonDefault

Placeholder bot menu button never returned to users: see the docs for more info.

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.