bots.getPreviewMedias

Fetch main mini app previews, see here » for more info.

---functions---
bots.getPreviewMedias#a2a5594d bot:InputUser = Vector<BotPreviewMedia>;

Parameters

Name Type Description
bot InputUser The bot that owns the Main Mini App.

Result

Vector<BotPreviewMedia>

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.