Interface SetMessageSenderBotVerification

Changes the verification status of a user or a chat by an owned bot. Request type for Tdjson#setMessageSenderBotVerification.

interface SetMessageSenderBotVerification {
    @type: "setMessageSenderBotVerification";
    bot_user_id: number;
    custom_description: string;
    verified_id: MessageSender;
}

Properties

@type: "setMessageSenderBotVerification"
bot_user_id: number

Identifier of the owned bot, which will verify the user or the chat.

custom_description: string

Custom description of verification reason; 0-getOption("bot_verification_custom_description_length_max"). If empty, then "was verified by organization "organization_name"" will be used as description. Can be specified only if the bot is allowed to provide custom description.

verified_id: MessageSender

Identifier of the user or the supergroup or channel chat, which will be verified by the bot.