Machine-readable version of this page: /method/account.getAuthorizationForm.md.
Returns a Telegram Passport authorization form for sharing data with a service
Method schema is available as of layer 133. Switch ยป
| 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 |
| Code | Type | Description |
|---|---|---|
| 400 | BOT_INVALID | This is not a valid bot. |
| 400 | PUBLIC_KEY_REQUIRED | A public key is required. |