Raw.account.UpdateConnectedBot
Connect a business bot to the current account, or to change the current connection settings.
account.updateConnectedBot#43d8521d flags:# can_reply:flags.0?true deleted:flags.1?true bot:InputUser recipients:InputBusinessBotRecipients = Updates;
export namespace Raw {
export namespace account {
export class UpdateConnectedBot {
constructor(params: {
canReply?: boolean;
deleted?: boolean;
bot: Raw.TypeInputUser;
recipients: Raw.TypeInputBusinessBotRecipients;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x43d8521d
Property
canReply
: boolean or undefinedWhether the bot can reply to messages it receives from us, on behalf of us using the business connection.
deleted
: boolean or undefinedWhether to fully disconnect the bot from the current account.
bot
: Raw.TypeInputUserThe bot to connect or disconnect
recipients
: Raw.TypeInputBusinessBotRecipientsConfiguration for the business connection