Raw.MessageActionBotAllowed

Raw.MessageActionBotAllowed

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

messageActionBotAllowed#c516d679 flags:# attach_menu:flags.1?true from_request:flags.3?true domain:flags.0?string app:flags.2?BotApp = MessageAction;
export namespace Raw {
  export class MessageActionBotAllowed {
    constructor(params: {
      attachMenu?: boolean;
      fromRequest?: boolean;
      domain?: string;
      app?: Raw.TypeBotApp;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xc516d679

Property

  • attachMenu : boolean or undefined

    We have authorized the bot to send us messages by installing the bot’s attachment menu.

  • fromRequest : boolean or undefined

    We have allowed the bot to send us messages using bots.allowsendmessage.

  • domain : string or undefined

    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 : Raw.TypeBotApp or undefined

    We have authorized the bot to send us messages by opening the specified bot mini app.