Layer 224
AccountPasswordInputSettingsObj
Settings for setting up a new password
constructor
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;
Parameters
| Name | Type | Description |
|---|---|---|
| NewAlgo | flags.0?PasswordKdfAlgo | The SRP algorithm to use |
| NewPasswordHash | flags.0?bytes | The computed password hash |
| Hint | flags.0?string | Text hint for the password |
| flags.1?string | Password recovery email | |
| NewSecureSettings | flags.2?SecureSecretSettings | Telegram passport settings |
Returns
account.PasswordInputSettingsGogram Example
// Creating AccountPasswordInputSettingsObj constructor obj := &tg.AccountPasswordInputSettingsObj{ // Optional fields: // NewAlgo: &tg.PasswordKdfAlgo{}, // NewPasswordHash: []byte{0x01, 0x02, 0x03}, // Hint: "Hello, World!", // Email: "Hello, World!", // ... more optional fields }