account.PasswordInputSettings

class pyrogram.raw.types.account.PasswordInputSettings

Settings for setting up a new password

Constructor of PasswordInputSettings.

Details:
  • Layer: 223

  • 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_algoPasswordKdfAlgo (optional)
│ ├── salt1bytes
│ ├── salt2bytes
│ ├── gint
│ └── pbytes
├── new_password_hashbytes (optional)
├── hintstring (optional)
├── emailstring (optional)
└── new_secure_settingsSecureSecretSettings (optional)
├── secure_algoSecurePasswordKdfAlgo
│ │ └── saltbytes
│ └── saltbytes
├── secure_secretbytes
└── secure_secret_idlong

Example

PasswordInputSettings(
)