MessageActionBotAllowed#

class pyrogram.raw.types.MessageActionBotAllowed#

We have given the bot permission to send us direct messages.

Constructor of MessageAction.

Details:
  • Layer: 158

  • ID: C516D679

Parameters:
  • attach_menu (bool, optional) – We have authorized the bot to send us messages by installing the bot’s attachment menu.

  • domain (str, optional) – We have authorized the bot to send us messages by logging into a website via Telegram Login »; this field contains the domain name of the website on which the user has logged in.

  • app (BotApp, optional) – We have authorized the bot to send us messages by opening the specified bot mini app.