Link Search Menu Expand Document

Constructor: connectedBot

Back to constructors index

Contains info about a connected business bot ».

Attributes:

NameTypeRequiredDescription
can_replyBoolOptionalWhether the the bot can reply to messages it receives through the connection
bot_idlongYesID of the connected bot
recipientsBusinessBotRecipientsYesSpecifies 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];