Layer 224
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

Gogram Example

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

Possible Errors

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