Raw.ConnectedBot

Raw.ConnectedBot

Contains info about a connected business bot.

connectedBot#bd068601 flags:# can_reply:flags.0?true bot_id:long recipients:BusinessBotRecipients = ConnectedBot;
export namespace Raw {
  export class ConnectedBot {
    constructor(params: {
      canReply?: boolean;
      botId: bigint;
      recipients: Raw.TypeBusinessBotRecipients;
    }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0xbd068601

Property

  • canReply : boolean or undefined

    Whether the the bot can reply to messages it receives through the connection

  • botId : bigint

    Id of the connected bot

  • recipients : Raw.TypeBusinessBotRecipients

    Specifies the private chats that a connected business bot may receive messages and interact with.