BotPreviewMedia

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

botPreviewMedia#23e91ba3 date:int media:MessageMedia = BotPreviewMedia;

---functions---

bots.addPreviewMedia#17aeb75a bot:InputUser lang_code:string media:InputMedia = BotPreviewMedia;
bots.editPreviewMedia#8525606f bot:InputUser lang_code:string media:InputMedia new_media:InputMedia = BotPreviewMedia;

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.