Raw.UpdateBotBusinessConnect
Connecting or disconnecting a business bot or changing the connection settings will emit an updatebotbusinessconnect update to the bot, with the new settings and a connectionId that will be used by the bot to handle updates from and send messages as the user.
updateBotBusinessConnect#8ae5c97a connection:BotBusinessConnection qts:int = Update;
export namespace Raw {
export class UpdateBotBusinessConnect {
constructor(params: { connection: Raw.TypeBotBusinessConnection; qts: number }) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x8ae5c97a
Property
connection
: Raw.TypeBotBusinessConnectionBusiness connection settings
qts
: numberNew qts value, see updates for more info.