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. |
Type: ConnectedBot
Example:
$connectedBot = ['_' => 'connectedBot', 'bot_id' => long, 'recipients' => BusinessBotRecipients, 'rights' => BusinessBotRights];