botBusinessConnection
Contains info about a bot business connection.
type tg.BotBusinessConnection struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Disabled | bool | — | Whether this business connection is currently disabled |
ConnectionID | string | yes | Business connection ID, used to identify messages coming from the connection and to reply to them as specified here ». |
UserID | int64 | yes | ID of the user that the bot is connected to via this connection. |
DCID | int | yes | ID of the datacenter where to send queries wrapped in a invokeWithBusinessConnection as specified here ». |
Date | int | yes | When was the connection created. |
Rights | BusinessBotRights | — | Business bot rights. |
References
- Official documentation
- Generated Go reference
- TL definition:
botBusinessConnection#8f34b2f5