Constructor: connectedBot
Contains info about a connected business bot ».
Attributes:
Name | Type | Required | Description |
---|---|---|---|
can_reply | Bool | Optional | Whether the the bot can reply to messages it receives through the connection |
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. |
Type: ConnectedBot
Example:
$connectedBot = ['_' => 'connectedBot', 'can_reply' => Bool, 'bot_id' => long, 'recipients' => BusinessBotRecipients];