account.initPasskeyRegistration

Initialize passkey registration for the current account, see here » for more info on the full flow.

 اسکیمای روش از لایه 219 در دسترس است. تغییر »

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 The account was deactivated, or is a bot/service account.
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.