bots.getPreviewInfo
Bot owners only, fetch main mini app preview information, see here » for more info.
Bot owners only, fetch [main mini app preview information, 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 | Fetch previews for the specified ISO 639-1 language code. |
Replies
bots.PreviewInfo
MTProto RPC
- 400 · BOT_INVALID — This is not a valid bot.