MadelineProtoDocs/docs/API_docs/constructors/auth_checkedPhone.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

45 lines
823 B
Markdown

---
title: auth.checkedPhone
description: Checked phone
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: auth.checkedPhone
[Back to constructors index](index.md)
Checked phone
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?|
### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md)
### Example:
```php
$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.checkedPhone", "phone_registered": Bool}
```
Or, if you're into Lua:
```lua
auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool}
```