2019-06-24 15:45:02 +02:00
|
|
|
---
|
|
|
|
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?|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 18:25:37 +01:00
|
|
|
### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md)
|
2019-06-24 15:45:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
2019-12-27 18:25:37 +01:00
|
|
|
$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool];
|
2019-06-24 15:45:02 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
2019-12-27 18:25:37 +01:00
|
|
|
auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool}
|
2019-06-24 15:45:02 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|