Layer 220
InvokeWithBusinessConnection
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.
method
Users
Bots
Business
Parameters
| Name | Type | Description |
|---|---|---|
| ConnectionId | string | Business connection ID. |
| Query | !X | The actual query. |
Gogram Example
// InvokeWithBusinessConnection - positional arguments result, err := client.InvokeWithBusinessConnection("...", nil) if err != nil { // handle error } // result is *tg.ReturnsTheTypeReturnedByTheInvokedMethod