Interface GetBotInfoDescription

Returns the text shown in the chat with a bot if the chat is empty in the given language. Can be called only if userTypeBot.can_be_edited == true. Request type for Tdjson#getBotInfoDescription.

interface GetBotInfoDescription {
    @type: "getBotInfoDescription";
    bot_user_id: number;
    language_code: string;
}

Properties

@type: "getBotInfoDescription"
bot_user_id: number

Identifier of the target bot.

language_code: string

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