bots.GetBotMenuButton#

class pyrogram.raw.functions.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.

Details:
  • Layer: 158

  • ID: 9C60EB28

Parameters:

user_id (InputUser) – User ID or empty for the default menu button.

Returns:

BotMenuButton