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.
Users can turn their Telegram account into a business account, gaining access to business features such as opening hours, location, quick replies, automated messages, custom start pages, chatbot support, and more.
Contains info about a bot business connection.