Layer 228
method Users
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

Returns

messages.BotApp

Gogram Example

// MessagesGetBotApp - positional arguments
result, err := client.MessagesGetBotApp(&tg.InputBotAppId{}, 480)
if err != nil {
    // handle error
}
// result is *tg.MessagesBotApp

Possible Errors

Code Type Description
400 BOT_APP_BOT_INVALID The bot_id passed in the input Bot App Short Name 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.