auth.initPasskeyLogin #
Initialize login with a passkey over an unauthenticated connection, see here » for more info.¶
Layer 223
auth.passkeyLoginOptions#e2037789 options:DataJSON = auth.PasskeyLoginOptions;
---functions---
auth.initPasskeyLogin#518ad0b7 api_id:int api_hash:string = auth.PasskeyLoginOptions; Parameters #
| Name | Type | Description |
|---|---|---|
| api_id | int | Application identifier (see App configuration) |
| api_hash | string | Application identifier hash (see App configuration) |
Result #
Only users can use this method #
This method can be invoked over an unauthenticated connection » #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | API_ID_INVALID | API ID invalid. |
| 500 | AUTH_RESTART | Restart the authorization process. |
Related pages #
Passkey login #
Log in to Telegram instantly with a passkey using a PIN or biometrics instead of an SMS code.¶