BotMenuButton
- class pyrogram.raw.types.BotMenuButton
Bot menu button that opens a web app when clicked.
Constructor of
BotMenuButton
.- Details:
Layer:
194
ID:
C7B57CE6
- Parameters:
text (
str
) – Title to be displayed on the menu button instead of ‘Menu’url (
str
) – URL of a web app to open when the user clicks on the button
- Functions:
This object can be returned by 1 function.
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.