MadelineProtoDocs/old_docs/API_docs_v95/constructors/auth.checkedPhone.md

40 lines
759 B
Markdown
Raw Normal View History

2019-06-24 15:45:02 +02:00
---
title: auth.checkedPhone
description: Checked phone
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2019-12-27 18:46:25 +01:00
redirect_from: /API_docs/constructors/auth_checkedPhone.html
2019-06-24 15:45:02 +02:00
---
# 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
```