UpdateBotCommands#

class pyrogram.raw.types.UpdateBotCommands#

The command set of a certain bot in a certain chat has changed.

Constructor of Update.

Details:
  • Layer: 158

  • ID: 4D712F2E

Parameters:
  • peer (Peer) – The affected chat.

  • bot_id (int 64-bit) – ID of the bot that changed its command set.

  • commands (List of BotCommand) – New bot commands.