Indicates the action to execute when pressing the in-UI menu button for bots
Constructor | Description |
---|---|
botMenuButtonDefault | Placeholder bot menu button never returned to users: see the docs for more info. |
botMenuButtonCommands | Bot menu button that opens the bot command list when clicked. |
botMenuButton | Bot menu button that opens a web app when clicked. |
Method | Description |
---|---|
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. |