bots.ReorderPreviewMedias#

class pyrogram.raw.functions.bots.ReorderPreviewMedias#

Reorder a main mini app previews, see here for more info. Only owners of bots with a configured Main Mini App can use this method, see see here for more info on how to check if you can invoke this method.

Details:
  • Layer: 211

  • ID: B627F3AA

Parameters:
bot (InputUser):

The bot that owns the Main Mini App.

lang_code (str):

ISO 639-1 language code, indicating the localization of the previews to reorder.

order (List of InputMedia):

New order of the previews.

Returns:

bool