Link Search Menu Expand Document

Constructor: updateBotBusinessConnect

Back to constructors index

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 connection_id that will be used by the bot to handle updates from and send messages as the user.

Attributes:

NameTypeRequiredDescription
connectionBotBusinessConnectionYesBusiness connection settings
qtsintYesNew qts value, see updates » for more info.

Type: Update

Example:

$updateBotBusinessConnect = ['_' => 'updateBotBusinessConnect', 'connection' => BotBusinessConnection, 'qts' => int];