Constructor: botBusinessConnection
Contains info about a bot business connection.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
disabled | Bool | Optional | Whether this business connection is currently disabled |
connection_id | string | Yes | Business connection ID, used to identify messages coming from the connection and to reply to them as specified here ». |
user_id | long | Yes | ID of the user that the bot is connected to via this connection. |
dc_id | 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 | Optional |
Type: BotBusinessConnection
Example:
$botBusinessConnection = ['_' => 'botBusinessConnection', 'disabled' => Bool, 'connection_id' => 'string', 'user_id' => long, 'dc_id' => int, 'date' => int, 'rights' => BusinessBotRights];