Interface GetBotMediaPreviewInfo

Returns the list of media previews for the given language and the list of languages for which the bot has dedicated previews. Request type for Tdjson#getBotMediaPreviewInfo.

interface GetBotMediaPreviewInfo {
    @type: "getBotMediaPreviewInfo";
    bot_user_id: number;
    language_code: string;
}

Properties

@type: "getBotMediaPreviewInfo"
bot_user_id: number

Identifier of the target bot. The bot must be owned and must have the main Web App.

language_code: string

A two-letter ISO 639-1 language code for which to get previews. If empty, then default previews are returned.