UpdateBotCommands

class pyrogram.raw.types.UpdateBotCommands

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

Constructor of Update.

Details:
  • Layer: 136

  • ID: 0x4d712f2e

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.