account.initPasskeyRegistration

Initialize 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

This constructor does not require any parameters.

Result

account.PasskeyRegistrationOptions

Only users can use this method

Possible errors

Code Type Description
403 ACCESS_DENIED  
406 FRESH_RESET_AUTHORISATION_FORBIDDEN You can't logout other sessions if less than 24 hours have passed since you logged on the current session.

Related pages

Passkey login

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