45 lines
780 B
Markdown
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'}
|
||
|
|
||
|
```
|
||
|
|
||
|
|