Interface MessageBotWriteAccessAllowed

The user allowed the bot to send messages. Subtype of MessageContent.

interface MessageBotWriteAccessAllowed {
    @type: "messageBotWriteAccessAllowed";
    reason: BotWriteAccessAllowReason;
}

Properties

Properties

@type: "messageBotWriteAccessAllowed"

The reason why the bot was allowed to write messages.