bots.AddPreviewMedia
- class pyrogram.raw.functions.bots.AddPreviewMedia
Add a main mini app preview, see here » for more info.
- Details:
Layer:
222ID:
17AEB75A
- 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 add.media (
InputMedia) – The photo/video preview, uploaded using messages.uploadMedia.
- Returns: