Contains information about a named bot web app.
botApp#95fcd1d6 flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document hash:long = BotApp;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
id | long | Bot web app ID |
access_hash | long | Bot web app access hash |
short_name | string | Bot web app short name, used to generate named bot web app deep links. |
title | string | Bot web app title. |
description | string | Bot web app description. |
photo | Photo | Bot web app photo. |
document | flags.0?Document | Bot web 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 named bot web app
Bots can offer users interactive HTML5 web apps to completely replace any website.