mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-11 08:42:03 +01:00
43 lines
611 B
Markdown
43 lines
611 B
Markdown
|
---
|
||
|
title: documentEmpty
|
||
|
description: documentEmpty attributes, type and example
|
||
|
---
|
||
|
## Constructor: documentEmpty
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|---------------|----------|
|
||
|
|id|[long](../types/long.md) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [Document](../types/Document.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$documentEmpty = ['_' => 'documentEmpty', 'id' => long];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "documentEmpty", "id": long}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
documentEmpty={_='documentEmpty', id=long}
|
||
|
|
||
|
```
|
||
|
|
||
|
|