messages.getBotApp

Obtain information about a direct link Mini App

messages.botApp#eb50adf5 flags:# inactive:flags.0?true request_write_access:flags.1?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 for pagination, for more info click here

Result

messages.BotApp

Possible errors

Code Type Description
400 BOT_APP_INVALID The specified bot app 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.