MadelineProto/old_docs/API_docs_v33/constructors/account_password.md

31 lines
806 B
Markdown
Raw Normal View History

---
2017-01-19 23:02:27 +01:00
title: account.password
description: account_password attributes, type and example
---
2017-01-19 23:02:27 +01:00
## Constructor: account.password
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|current\_salt|[bytes](../types/bytes.md) | Required|
|new\_salt|[bytes](../types/bytes.md) | Required|
|hint|[string](../types/string.md) | Required|
|has\_recovery|[Bool](../types/Bool.md) | Required|
|email\_unconfirmed\_pattern|[string](../types/string.md) | Required|
### Type: [account\_Password](../types/account_Password.md)
### Example:
```
2017-01-19 23:02:27 +01:00
$account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ];
```