Layer 220
method Users
account.getAuthorizationForm#a929597a bot_id:long scope:string public_key:string = account.AuthorizationForm;

Parameters

Name Type Description
BotId long User identifier of the service's bot
Scope string Telegram Passport element types requested by the service
PublicKey string Service's public key

Possible Errors

Code Type Description
400 BOT_INVALID This is not a valid bot.
400 PUBLIC_KEY_REQUIRED A public key is required.

Gogram Example

// AccountGetAuthorizationForm - positional arguments
result, err := client.AccountGetAuthorizationForm(int64(0), "...", "...")
if err != nil {
    // handle error
}
// result is *tg.AccountAuthorizationForm