MadelineProto/old_docs/API_docs_v45/constructors/account_sentChangePhoneCode.md

44 lines
960 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 |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|
|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-07-23 16:33:46 +02: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:
```
2017-07-23 16:33:46 +02:00
{"_": "account.sentChangePhoneCode", "phone_code_hash": "string", "send_call_timeout": int}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int}
```