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

45 lines
780 B
Markdown

---
title: securePlainPhone
description: Secure plain phone
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: securePlainPhone
[Back to constructors index](index.md)
Secure plain phone
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|phone|[string](../types/string.md) | Yes|Phone|
### Type: [SecurePlainData](../types/SecurePlainData.md)
### Example:
```php
$securePlainPhone = ['_' => 'securePlainPhone', 'phone' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "securePlainPhone", "phone": "string"}
```
Or, if you're into Lua:
```lua
securePlainPhone={_='securePlainPhone', phone='string'}
```