Layer 220
UpdateBotBusinessConnect
Connecting or disconnecting a business bot or changing the connection settings will emit an update Bot Business Connect update to the bot, with the new settings and a connection_id that will be used by the bot to handle updates from and send messages as the user.
constructor
Business
Parameters
| Name | Type | Description |
|---|---|---|
| Connection | BotBusinessConnection | Business connection settings |
| Qts | int | New qts value, see updates for more info. |
Returns
UpdateGogram Example
// Creating UpdateBotBusinessConnect constructor obj := &tg.UpdateBotBusinessConnect{ Connection: &tg.BotBusinessConnection{}, Qts: 0, }