MadelineProto/old_docs/API_docs_v55/constructors/account_passwordInputSettings.md

46 lines
1.1 KiB
Markdown
Raw Normal View History

---
2017-01-19 23:02:27 +01:00
title: account.passwordInputSettings
description: account_passwordInputSettings attributes, type and example
---
2017-01-19 23:02:27 +01:00
## Constructor: account.passwordInputSettings
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|new\_salt|[bytes](../types/bytes.md) | Optional|
|new\_password\_hash|[bytes](../types/bytes.md) | Optional|
|hint|[string](../types/string.md) | Optional|
|email|[string](../types/string.md) | Optional|
### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md)
### Example:
```
2017-01-19 23:02:27 +01:00
$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"}
```
Or, if you're into Lua:
```
account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, }
```