account.PasswordSettings

class pyrogram.raw.types.account.PasswordSettings

Private info associated to the password info (recovery email, telegram passport info & so on)

Constructor of PasswordSettings.

Details:
  • Layer: 223

  • ID: 9A5C33E5

Parameters:
  • email (str, optional) – 2FA Recovery email

  • secure_settings (SecureSecretSettings, optional) – Telegram passport settings

Functions:

This object can be returned by 1 function.

account.GetPasswordSettings

Get private info associated to the password info (recovery email, telegram passport info & so on)

TL Schema

account.passwordSettings#9a5c33e5
flags:#
email:flags.0?string
secure_settings:flags.1?SecureSecretSettings

= account.PasswordSettings

Parameter Tree

PasswordSettings
├── emailstring (optional)
└── secure_settingsSecureSecretSettings (optional)
├── secure_algoSecurePasswordKdfAlgo
│ │ └── saltbytes
│ └── saltbytes
├── secure_secretbytes
└── secure_secret_idlong

Example

PasswordSettings(
)