bots.DeletePreviewMedia#
- class pyrogram.raw.functions.bots.DeletePreviewMedia#
Delete a main mini app preview, 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:
2D0135B3
- 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 delete.
- media (List of
InputMedia
): The photo/video preview to delete, previously fetched as specified here ».
- bot (
- Returns:
bool