MadelineProtoDocs/old_docs/API_docs_v2/constructors/account.sentChangePhoneCode.md
2020-06-16 17:50:25 +02:00

39 lines
943 B
Markdown

---
title: account.sentChangePhoneCode
description: account.sentChangePhoneCode attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/account_sentChangePhoneCode.html
---
# 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:
```php
$account.sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int];
```
Or, if you're into Lua:
```lua
account.sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int}
```