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

38 lines
731 B
Markdown
Raw Normal View History

2019-06-24 15:45:02 +02:00
---
title: auth.checkedPhone
2020-06-16 17:50:25 +02:00
description: auth.checkedPhone attributes, type and example
2019-06-24 15:45:02 +02:00
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)
### Attributes:
2020-06-16 17:50:25 +02:00
| Name | Type | Required |
|----------|---------------|----------|
|phone\_registered|[Bool](../types/Bool.md) | Yes|
2019-06-24 15:45:02 +02:00
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
```