Interface SetBotInfoDescription

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

interface SetBotInfoDescription {
    @type: "setBotInfoDescription";
    bot_user_id: number;
    description: string;
    language_code: string;
}

Properties

@type: "setBotInfoDescription"
bot_user_id: number

Identifier of the target bot.

description: string

Sets the text shown in the chat with a bot if the chat is empty. Can be called only if userTypeBot.can_be_edited == true.

language_code: string

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