bots.getPreviewMedias

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

 Method schema is available as of layer 185. Switch »

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.