Interface BusinessConnectedBot

Describes a bot connected to a business account.

interface BusinessConnectedBot {
    @type: "businessConnectedBot";
    bot_user_id: number;
    can_reply?: boolean;
    recipients: BusinessRecipients;
}

Properties

@type: "businessConnectedBot"
bot_user_id: number

User identifier of the bot.

can_reply?: boolean

True, if the bot can send messages to the private chats; false otherwise.

recipients: BusinessRecipients

Private chats that will be accessible to the bot.