MadelineProtoDocs/old_docs/API_docs_v8/constructors/documentEmpty.md

39 lines
672 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: documentEmpty
description: Empty constructor, document doesn't exist.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: documentEmpty
[Back to constructors index](index.md)
Empty constructor, document doesn't exist.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Document ID or `0`|
### Type: [Document](../types/Document.md)
### Example:
```php
$documentEmpty = ['_' => 'documentEmpty', 'id' => long];
```
Or, if you're into Lua:
```lua
documentEmpty={_='documentEmpty', id=long}
```