1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 17:47:21 +01:00
MadelineProto/docs/API_docs/constructors/account_password.md

29 lines
802 B
Markdown
Raw Normal View History

2016-12-20 13:15:22 +01:00
---
title: account_password
2016-12-20 13:32:11 +01:00
description: account_password attributes, type and example
2016-12-20 13:15:22 +01:00
---
## Constructor: account\_password
2016-12-20 13:15:22 +01:00
[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|
2016-12-19 18:56:05 +01:00
### Type: [account\_Password](../types/account_Password.md)
### Example:
```
2016-12-19 17:48:27 +01:00
$account_password = ['_' => account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ];
```