MadelineProtoDocs/old_docs/API_docs_v82/constructors/draftMessageEmpty.md

45 lines
762 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01:00
---
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}
```