MadelineProto/old_docs/API_docs_v38/constructors/account_sentChangePhoneCode.md

44 lines
957 B
Markdown
Raw Normal View History

---
2017-01-19 23:02:27 +01:00
title: account.sentChangePhoneCode
description: account_sentChangePhoneCode attributes, type and example
---
2017-01-19 23:02:27 +01:00
## Constructor: account.sentChangePhoneCode
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|phone\_code\_hash|[string](../types/string.md) | Yes|
|send\_call\_timeout|[int](../types/int.md) | Yes|
### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md)
### Example:
```
2017-01-19 23:02:27 +01:00
$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"}
```
Or, if you're into Lua:
```
account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash=string, send_call_timeout=int, }
```