Invoke a method using a Telegram Business Bot connection, see here » for more info, including a list of the methods that can be wrapped in this constructor.
Make sure to always send queries wrapped in a invokeWithBusinessConnection
to the datacenter ID, specified in the dc_id
field of the botBusinessConnection that is being used.
Method schema is available as of layer 177. Switch »
Name | Type | Description |
---|---|---|
connection_id | string | Business connection ID. |
query | !X | The actual query. |
The type returned by the invoked method.
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.
Contains info about a bot business connection.