Constructor: connectedBot
Contains info about a connected business bot ».
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| bot_id | long | Yes | ID of the connected bot |
| recipients | BusinessBotRecipients | Yes | Specifies the private chats that a connected business bot » may receive messages and interact with. |
| rights | BusinessBotRights | Yes | Business bot rights. |
| device | string | Optional | |
| date | int | Optional | |
| location | string | Optional |
Type: ConnectedBot
Example:
$connectedBot = ['_' => 'connectedBot', 'bot_id' => long, 'recipients' => BusinessBotRecipients, 'rights' => BusinessBotRights, 'device' => 'string', 'date' => int, 'location' => 'string'];