BotInfo

class pyrogram.raw.types.BotInfo

Info about bots (available bot commands, etc).

Constructor type of BotInfo.

Details
  • Layer: 126

  • ID: 0x98e81d3a

Parameters
  • user_id (int 32-bit) – ID of the bot.

  • description (str) – Description of the bot.

  • commands (List of BotCommand) – Bot commands that can be used in the chat.