account.registerPasskey

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 »

Parameters

Name Type Description
credential InputPasskeyCredential Registration result.

Result

Passkey

Only users can use this method

Possible errors

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.

Related pages

Passkey login

Log in to Telegram instantly with a passkey using a PIN or biometrics instead of an SMS code.