Link Search Menu Expand Document

Constructor: account.passwordInputSettings

Back to constructors index

Settings for setting up a new password

Attributes:

NameTypeRequiredDescription
new_algoPasswordKdfAlgoOptionalThe SRP algorithm to use
new_password_hashbytesOptionalThe computed password hash
hintstringOptionalText hint for the password
emailstringOptionalPassword recovery email
new_secure_settingsSecureSecretSettingsOptionalTelegram passport settings

Type: account.PasswordInputSettings

Example:

$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings];