messages.getBotApp

Obtain information about a direct link Mini App

 Method schema is available as of layer 154. Switch »

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.