account.PasswordInputSettings

class pyrogram.raw.types.account.PasswordInputSettings

Settings for setting up a new password

Constructor of PasswordInputSettings.

Details:
  • Layer: 227

  • ID: C23727C9

Parameters:
  • new_algo (PasswordKdfAlgo, optional) – The SRP algorithm to use

  • new_password_hash (bytes, optional) – The computed password hash

  • hint (str, optional) – Text hint for the password

  • email (str, optional) – Password recovery email

  • new_secure_settings (SecureSecretSettings, optional) – Telegram passport settings

TL Schema

account.passwordInputSettings#c23727c9
flags:#
new_algo:flags.0?PasswordKdfAlgo
new_password_hash:flags.0?bytes
hint:flags.0?string
email:flags.1?string
new_secure_settings:flags.2?SecureSecretSettings

= account.PasswordInputSettings

Parameter Tree

PasswordInputSettings
├── new_algo → PasswordKdfAlgo (optional)
│ ├── salt1 → bytes
│ ├── salt2 → bytes
│ ├── g → int
│ └── p → bytes
├── new_password_hash → bytes (optional)
├── hint → string (optional)
├── email → string (optional)
└── new_secure_settings → SecureSecretSettings (optional)
├── secure_algo → SecurePasswordKdfAlgo
│ │ └── salt → bytes
│ └── salt → bytes
├── secure_secret → bytes
└── secure_secret_id → long

Example

PasswordInputSettings(
)