botApp #

Contains information about a direct link Mini App.

Layer 223

botApp#95fcd1d6 flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document hash:long = BotApp;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
idlongbot mini app ID
access_hashlongbot mini app access hash
short_namestringbot mini app short name, used to generate Direct Mini App deep links.
titlestringbot mini app title.
descriptionstringbot mini app description.
photoPhotobot mini app photo.
documentflags.0?Documentbot mini app animation.
hashlongHash to pass to messages.getBotApp, to avoid refetching bot app info if it hasn't changed.

Type #

BotApp

Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.

messages.getBotApp #

Obtain information about a direct link Mini App

Mini Apps on Telegram #

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