bots.addPreviewMedia
Add a main mini app preview, see here » for more info.
Add a [main mini app preview, see here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) for more info.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
bot | InputUser | Ja | The bot that owns the Main Mini App. |
lang_code | string | Ja | ISO 639-1 language code, indicating the localization of the preview to add. |
media | InputMedia | Ja | The photo/video preview, uploaded using [messages.uploadMedia](https://core.telegram.org/method/messages.uploadMedia.md). |
Antworten
BotPreviewMedia
MTProto RPC
- 400 · BOT_INVALID – Dies ist kein gültiger Bot.