InputPasskeyCredential#

class pyrogram.raw.base.InputPasskeyCredential#

Credential used to register a passkey or to log in with one.

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

Constructors:

This base type has 2 constructors available.

InputPasskeyCredentialFirebasePNV

Alternative passkey credential that proves ownership of the account's phone number through a Firebase Phone Number Verification (PNV) token, used on official apps where a full WebAuthn public-key passkey cannot be created, in a way similar to Firebase SMS authentication.

InputPasskeyCredentialPublicKey

Public-key passkey credential used both for registration and for login, see creating a passkey and logging in with a passkey for the full flows.