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

21 lines
689 B
Markdown
Raw Normal View History

## Constructor: auth\_sentCode
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|phone\_registered|[Bool](../types/Bool.md) | Optional|
|type|[auth\_SentCodeType](../types/auth\_SentCodeType.md) | Required|
|phone\_code\_hash|[string](../types/string.md) | Required|
|next\_type|[auth\_CodeType](../types/auth\_CodeType.md) | Optional|
|timeout|[int](../types/int.md) | Optional|
### Type: [auth\_SentCode](../types/auth\_SentCode.md)
### Example:
```
2016-12-19 17:48:27 +01:00
$auth_sentCode = ['_' => auth_sentCode', 'phone_registered' => true, 'type' => auth.SentCodeType, 'phone_code_hash' => string, 'next_type' => auth.CodeType, 'timeout' => int, ];
```