Skip to content

getBotMediaPreviewInfo

Function · TDLib 1.8.67 · d1085f9c

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

getBotMediaPreviewInfo(
  bot_user_id: int53,
  language_code: string
) → BotMediaPreviewInfo

bot_user_id

int53

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