MadelineProtoDocs/old_docs/API_docs_v23/constructors/auth_checkedPhone.md

44 lines
835 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: auth.checkedPhone
description: auth_checkedPhone attributes, type and example
---
## Constructor: auth.checkedPhone
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|phone\_registered|[Bool](../types/Bool.md) | Yes|
2018-04-01 13:24:46 +02:00
|phone\_invited|[Bool](../types/Bool.md) | Yes|
2018-04-01 13:19:25 +02:00
### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md)
### Example:
```
2018-04-01 13:24:46 +02:00
$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, 'phone_invited' => Bool];
2018-04-01 13:19:25 +02:00
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2018-04-01 13:24:46 +02:00
{"_": "auth.checkedPhone", "phone_registered": Bool, "phone_invited": Bool}
2018-04-01 13:19:25 +02:00
```
Or, if you're into Lua:
```
2018-04-01 13:24:46 +02:00
auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, phone_invited=Bool}
2018-04-01 13:19:25 +02:00
```