BotAllowed

class pyrogram.types.BotAllowed

Contains information about a allowed bot.

Parameters:
  • attach_menu (``bool``, *optional*) – True, if the bot can attach to menu.

  • from_request (``bool``, *optional*) – True, if the bot is allowed from request.

  • domain (``str``, *optional*) – The domain of the bot.

  • app (:obj:`~pyrogram.types.BotApp`, *optional*) – The app of the bot.