get_bot_media_preview_info


Description:

public async BotMediaPreviewInfo get_bot_media_preview_info (int64 bot_user_id, string language_code) throws TDLibError

Returns the list of media previews for the given language and the list of languages for which the bot has dedicated previews

Parameters:

bot_user_id

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

language_code

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