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.
Constructor schema is available as of layer 177. Switch »
Name | Type | Description |
---|---|---|
connection | BotBusinessConnection | Business connection settings |
qts | int | New qts value, see updates » for more info. |
How to subscribe to updates and handle them properly.
Business users can connect Telegram bots that will process and answer messages on their behalf. This allows businesses to seamlessly integrate any existing tools and workflows, or add AI assistants that manage their chats.
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.