MadelineProto/docs/TD_docs/constructors/optionEmpty.md

44 lines
610 B
Markdown
Raw Normal View History

---
title: optionEmpty
description: Unknown option or option having default value
---
## Constructor: optionEmpty
[Back to constructors index](index.md)
Unknown option or option having default value
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
### Type: [OptionValue](../types/OptionValue.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$optionEmpty = ['_' => 'optionEmpty'];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "optionEmpty"}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
optionEmpty={_='optionEmpty'}
```