BotPreviewMedia

Represents a Main Mini App preview media, see here » for more info.

Constructors

Constructor Description
botPreviewMedia Represents a Main Mini App preview media, see here » for more info.

Methods

Method Description
bots.addPreviewMedia Add a main mini app preview, see here » for more info.

Only owners of bots with a configured Main Mini App can use this method, see see here » for more info on how to check if you can invoke this method.
bots.editPreviewMedia Edit a main mini app preview, see here » for more info.

Only owners of bots with a configured Main Mini App can use this method, see see here » for more info on how to check if you can invoke this method.

Related pages

Mini Apps on Telegram

Bots can offer users interactive HTML5 web apps to completely replace any website.