BotInfo

class pyrogram.raw.types.BotInfo

Info about bots (available bot commands, etc)

Constructor of BotInfo.

Details:
  • Layer: 194

  • ID: 36607333

Parameters:
  • has_preview_medias (bool, optional) – N/A

  • 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

  • privacy_policy_url (str, optional) – N/A

  • app_settings (BotAppSettings, optional) – N/A