Complete passkey registration for the current account, see here » for more info on the full flow.
Method schema is available as of layer 219. Switch »
| Name | Type | Description |
|---|---|---|
| credential | InputPasskeyCredential | Registration result. |
| Code | Type | Description |
|---|---|---|
| 400 | CREDENTIAL_INVALID | The specified credential is invalid. |
| 400 | PASSKEY_ORIGIN_MISMATCH | Third-party clients currently don't support passkeys even when changing the origin. |
Log in to Telegram instantly with a passkey using a PIN or biometrics instead of an SMS code.