MadelineProtoDocs/docs/API_docs/constructors/draftMessageEmpty.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

45 lines
762 B
Markdown

---
title: draftMessageEmpty
description: Empty draft message
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: draftMessageEmpty
[Back to constructors index](index.md)
Empty draft message
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|date|[int](../types/int.md) | Optional|Date|
### Type: [DraftMessage](../types/DraftMessage.md)
### Example:
```php
$draftMessageEmpty = ['_' => 'draftMessageEmpty', 'date' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "draftMessageEmpty", "date": int}
```
Or, if you're into Lua:
```lua
draftMessageEmpty={_='draftMessageEmpty', date=int}
```