Raw.ConnectedBot
Contains info about a connected business bot.
connectedBot#cd64636c flags:# bot_id:long recipients:BusinessBotRecipients rights:BusinessBotRights = ConnectedBot;
export namespace Raw {
export class ConnectedBot {
constructor(params: {
botId: bigint;
recipients: Raw.TypeBusinessBotRecipients;
rights: Raw.TypeBusinessBotRights;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 201
Constructor ID: 0xcd64636c
Property
botId
: bigintId of the connected bot
recipients
: Raw.TypeBusinessBotRecipientsSpecifies the private chats that a connected business bot may receive messages and interact with.
rights
: Raw.TypeBusinessBotRights