Layer 220
method Users

Parameters

Name Type Description
Bot InputUser The bot that owns the Main Mini App.
LangCode string Fetch previews for the specified ISO 639-1 language code.

Possible Errors

Code Type Description
400 BOT_INVALID This is not a valid bot.

Gogram Example

// BotsGetPreviewInfo - positional arguments
result, err := client.BotsGetPreviewInfo(&tg.InputUserSelf{}, "...")
if err != nil {
    // handle error
}
// result is *tg.BotsPreviewInfo