45 lines
706 B
Markdown
45 lines
706 B
Markdown
|
---
|
||
|
title: documentEmpty
|
||
|
description: Empty document
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: documentEmpty
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
Empty document
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|id|[long](../types/long.md) | Yes|ID|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [Document](../types/Document.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```php
|
||
|
$documentEmpty = ['_' => 'documentEmpty', 'id' => long];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "documentEmpty", "id": long}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
```lua
|
||
|
documentEmpty={_='documentEmpty', id=long}
|
||
|
|
||
|
```
|
||
|
|
||
|
|