45 lines
762 B
Markdown
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}
|
|
|
|
```
|
|
|
|
|