bots.getPreviewMedias #
Fetch main mini app previews, see here » for more info.¶
Layer 223
---functions---
bots.getPreviewMedias#a2a5594d bot:InputUser = Vector<BotPreviewMedia>; Parameters #
| Name | Type | Description |
|---|---|---|
| bot | InputUser | The bot that owns the Main Mini App. |
Result #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | BOT_INVALID | This is not a valid bot. |
Related pages #
Mini Apps on Telegram #
Bots can offer users interactive HTML5 web apps to completely replace any website.¶