Initialize login with a passkey over an unauthenticated connection, see here » for more info.
auth.passkeyLoginOptions#e2037789 options:DataJSON = auth.PasskeyLoginOptions;
---functions---
auth.initPasskeyLogin#518ad0b7 api_id:int api_hash:string = auth.PasskeyLoginOptions;
| Name | Type | Description |
|---|---|---|
| api_id | int | Application identifier (see App configuration) |
| api_hash | string | Application identifier hash (see App configuration) |
| Code | Type | Description |
|---|---|---|
| 400 | API_ID_INVALID | API ID invalid. |
| 500 | AUTH_RESTART | Restart the authorization process. |
| 500 | PASSKEY_AUTH_RESTART |
Log in to Telegram instantly with a passkey using a PIN or biometrics instead of an SMS code.