Layer 220
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
Flags # Flags, see TL conditional fields
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
Email flags.1?string Password recovery email
NewSecureSettings flags.2?SecureSecretSettings Telegram passport settings

Gogram Example

// Creating AccountPasswordInputSettings constructor
obj := &tg.AccountPasswordInputSettings{

    // Optional fields:
    // NewAlgo: &tg.PasswordKdfAlgo{},
    // NewPasswordHash: []byte{},
    // Hint: "...",
    // Email: "...",
    // ... more optional fields
}