Complete passkey registration for the current account, see here » for more info on the full flow.
passkey#98613ebf flags:# id:string name:string date:int software_emoji_id:flags.0?long last_usage_date:flags.1?int = Passkey;
---functions---
account.registerPasskey#55b41fd6 credential:InputPasskeyCredential = Passkey;
| 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.