account.getAuthorizationForm

Returns a Telegram Passport authorization form for sharing data with a service

 Method schema is available as of layer 133. Switch ยป

Parameters

Name Type Description
bot_id long User identifier of the service's bot
scope string Telegram Passport element types requested by the service
public_key string Service's public key

Result

account.AuthorizationForm

Possible errors

Code Type Description
400 PUBLIC_KEY_REQUIRED A public key is required.