class pyrogram.raw.types.BotInfo#

Info about bots (available bot commands, etc).

Constructor of BotInfo.

  • Layer: 158

  • ID: 8F300B57

  • user_id (int 64-bit, optional) – ID of the bot.

  • description (str, optional) – Description of the bot.

  • description_photo (Photo, optional) – Description photo.

  • description_document (Document, optional) – Description animation in MPEG4 format.

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

  • menu_button (BotMenuButton, optional) – Indicates the action to execute when pressing the in-UI menu button for bots.