messages.getBotApp

Obtain information about a direct link Mini App

messages.botApp#eb50adf5 flags:# inactive:flags.0?true request_write_access:flags.1?true has_settings:flags.2?true app:BotApp = messages.BotApp;
---functions---
messages.getBotApp#34fdc5c3 app:InputBotApp hash:long = messages.BotApp;

Parameters

Name Type Description
app InputBotApp Bot app information obtained from a Direct Mini App deep link ยป.
hash long Hash used for caching, for more info click here

Result

messages.BotApp

Possible errors

Code Type Description
400 BOT_APP_BOT_INVALID The bot_id passed in the inputBotAppShortName constructor is invalid.
400 BOT_APP_INVALID The specified bot app is invalid.
400 BOT_APP_SHORTNAME_INVALID The specified bot app short name is invalid.

Related pages

Deep links

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

Pagination in the API

How to fetch results from large lists of objects.

Mini Apps on Telegram

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