account.initPasskeyRegistration #

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

Layer 223

account.passkeyRegistrationOptions#e16b5ce1 options:DataJSON = account.PasskeyRegistrationOptions;
---functions---
account.initPasskeyRegistration#429547e8 = account.PasskeyRegistrationOptions;

Parameters #

This constructor does not require any parameters.

Result #

account.PasskeyRegistrationOptions

Only users can use this method #

Possible errors #

CodeTypeDescription
403ACCESS_DENIEDThe account was deactivated, or is a bot/service account.
406FRESH_RESET_AUTHORISATION_FORBIDDENYou can't logout other sessions if less than 24 hours have passed since you logged on the current session.

Passkey login #

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