bots.deletePreviewMedia
Delete a main mini app preview, see here » for more info.
Delete a [main mini app preview, see here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) for more info.
| Name | Type | Required | Description |
|---|---|---|---|
bot | InputUser | Yes | The bot that owns the Main Mini App. |
lang_code | string | Yes | ISO 639-1 language code, indicating the localization of the preview to delete. |
media | Vector<InputMedia> | Yes | The photo/video preview to delete, previously fetched as specified [here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews). |
Replies
Bool
MTProto RPC
- 400 · BOT_INVALID — This is not a valid bot.