Contains information about a direct link Mini App.
Constructor schema is available as of layer 154. Switch ยป
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
id | long | bot mini app ID |
access_hash | long | bot mini app access hash |
short_name | string | bot mini app short name, used to generate Direct Mini App deep links. |
title | string | bot mini app title. |
description | string | bot mini app description. |
photo | Photo | bot mini app photo. |
document | flags.0?Document | bot mini app animation. |
hash | long | Hash to pass to messages.getBotApp, to avoid refetching bot app info if it hasn't changed. |
Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.
Obtain information about a direct link Mini App
Bots can offer users interactive HTML5 web apps to completely replace any website.