Link Search Menu Expand Document

Constructor: connectedBot

Back to constructors index

Contains info about a connected business bot ».

Attributes:

NameTypeRequiredDescription
bot_idlongYesID of the connected bot
recipientsBusinessBotRecipientsYesSpecifies the private chats that a connected business bot » may receive messages and interact with.
rightsBusinessBotRightsYes

Type: ConnectedBot

Example:

$connectedBot = ['_' => 'connectedBot', 'bot_id' => long, 'recipients' => BusinessBotRecipients, 'rights' => BusinessBotRights];