MadelineProtoDocs/old_docs/API_docs_v109/constructors/documentEmpty.md

39 lines
672 B
Markdown
Raw Permalink Normal View History

2020-03-06 12:24:14 +01: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}
```