Skip to content

reorderBotMediaPreviews

Function · TDLib 1.8.67 · d1085f9c

Changes order of media previews in the list of media previews of a bot

reorderBotMediaPreviews(
  bot_user_id: int53,
  language_code: string,
  file_ids: list of int32
) → Ok

bot_user_id

int53

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

language_code

string

Language code of the media previews to reorder

file_ids

list of int32

File identifiers of the media in the new order