Constructor: botBusinessConnection
Contains info about a bot business connection.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
can_reply | Bool | Optional | Whether the bot can reply on behalf of the user to messages it receives through the business connection |
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. |
Type: BotBusinessConnection
Example:
$botBusinessConnection = ['_' => 'botBusinessConnection', 'can_reply' => Bool, 'disabled' => Bool, 'connection_id' => 'string', 'user_id' => long, 'dc_id' => int, 'date' => int];