Interface GetBotInfoShortDescription

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

interface GetBotInfoShortDescription {
    @type: "getBotInfoShortDescription";
    bot_user_id: number;
    language_code: string;
}

Properties

@type: "getBotInfoShortDescription"
bot_user_id: number

Identifier of the target bot.

language_code: string

A two-letter ISO 639-1 language code or an empty string.