Interface SetBotInfoShortDescription

Sets the text shown on a bot's profile page and sent together with the link when users share the bot. Can be called only if userTypeBot.can_be_edited == true. Request type for Tdjson#setBotInfoShortDescription.

interface SetBotInfoShortDescription {
    @type: "setBotInfoShortDescription";
    bot_user_id: number;
    language_code: string;
    short_description: string;
}

Properties

@type: "setBotInfoShortDescription"
bot_user_id: number

Identifier of the target bot.

language_code: string

A two-letter ISO 639-1 language code. If empty, the short description will be shown to all users for whose languages there is no dedicated description.

short_description: string

New bot's short description on the specified language.