Raw.account.UpdateConnectedBot
Connect a business bot to the current account, or to change the current connection settings.
account.updateConnectedBot#66a08c7e flags:# deleted:flags.1?true rights:flags.0?BusinessBotRights bot:InputUser recipients:InputBusinessBotRecipients = Updates;
export namespace Raw {
export namespace account {
export class UpdateConnectedBot {
constructor(params: {
deleted?: boolean;
rights?: Raw.TypeBusinessBotRights;
bot: Raw.TypeInputUser;
recipients: Raw.TypeInputBusinessBotRecipients;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 201
Constructor ID: 0x66a08c7e
Property
deleted
: boolean or undefinedWhether to fully disconnect the bot from the current account.
rights
: Raw.TypeBusinessBotRights or undefinedbot
: Raw.TypeInputUserThe bot to connect or disconnect
recipients
: Raw.TypeInputBusinessBotRecipientsConfiguration for the business connection