BotPreviewMedia #

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

Layer 223

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 #

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

Methods #

MethodDescription
bots.addPreviewMediaAdd 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.editPreviewMediaEdit 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.

Mini Apps on Telegram #

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