botApp
Contains information about a direct link Mini App.
type tg.BotApp struct { /* ... */ }
Implements BotApp.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
ID | int64 | yes | bot mini app ID |
AccessHash | int64 | yes | bot mini app access hash |
ShortName | string | yes | bot mini app short name, used to generate Direct Mini App deep links. |
Title | string | yes | bot mini app title. |
Description | string | yes | bot mini app description. |
Photo | PhotoClass | yes | bot mini app photo. |
Document | DocumentClass | — | bot mini app animation. |
Hash | int64 | yes | Hash to pass to messages.getBotApp, to avoid refetching bot app info if it hasn't changed. |
References
- Official documentation
- Generated Go reference
- TL definition:
botApp#95fcd1d6