Interface CanBotSendMessages

Checks whether the specified bot can send messages to the user. Returns a 404 error if can't and the access can be granted by call to allowBotToSendMessages. Request type for Tdjson#canBotSendMessages.

interface CanBotSendMessages {
    @type: "canBotSendMessages";
    bot_user_id: number;
}

Properties

Properties

@type: "canBotSendMessages"
bot_user_id: number

Identifier of the target bot.