Skip to main content

botApp

Contains information about a direct link Mini App.

type tg.BotApp struct { /* ... */ }

Implements BotApp.

Fields

NameTypeRequiredDescription
IDint64yesbot mini app ID
AccessHashint64yesbot mini app access hash
ShortNamestringyesbot mini app short name, used to generate Direct Mini App deep links.
Titlestringyesbot mini app title.
Descriptionstringyesbot mini app description.
PhotoPhotoClassyesbot mini app photo.
DocumentDocumentClassbot mini app animation.
Hashint64yesHash to pass to messages.getBotApp, to avoid refetching bot app info if it hasn't changed.

References