Passkey#

class pyrogram.raw.types.Passkey#

Human-readable info about a passkey associated to an account, returned when creating a passkey or listing passkeys.

Constructor of Passkey.

Details:
  • Layer: 225

  • ID: 98613EBF

Parameters:
  • id (str) – Unique passkey ID, usable for example in account.deletePasskey.

  • name (str) – Human-readable passkey name

  • date (int 32-bit) – Creation date of the passkey

  • software_emoji_id (int 64-bit, optional) – ID of the custom emoji used as icon for the software or password manager that created the passkey

  • last_usage_date (int 32-bit, optional) – Date when the passkey was last used to log in

Functions:

This object can be returned by 1 function.

account.RegisterPasskey

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