bots.EditPreviewMedia#

class pyrogram.raw.functions.bots.EditPreviewMedia#

Edit a main mini app preview, see here » for more info.

Details:
  • Layer: 187

  • ID: 8525606F

Parameters:
  • bot (InputUser) – The bot that owns the Main Mini App.

  • lang_code (str) – ISO 639-1 language code, indicating the localization of the preview to edit.

  • media (InputMedia) – The photo/video preview to replace, previously fetched as specified here ».

  • new_media (InputMedia) – The new photo/video preview, uploaded using messages.uploadMedia.

Returns:

BotPreviewMedia