account.PasswordInputSettings
- class pyrogram.raw.types.account.PasswordInputSettings
Settings for setting up a new password
Constructor of
PasswordInputSettings.- Details:
Layer:
223ID:
C23727C9
- Parameters:
new_algo (
PasswordKdfAlgo, optional) – The SRP algorithm to usenew_password_hash (
bytes, optional) – The computed password hashhint (
str, optional) – Text hint for the passwordemail (
str, optional) – Password recovery emailnew_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)│ ├──
PasswordKdfAlgoUnknown│ ├── 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 →
longExample
PasswordInputSettings(
)