---
title: messages.messageEditData
description: messages_messageEditData attributes, type and example
---
## Constructor: messages.messageEditData  
[Back to constructors index](index.md)



### Attributes:

| Name     |    Type       | Required |
|----------|---------------|----------|
|caption|[Bool](../types/Bool.md) | Optional|



### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md)


### Example:

```
$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool];
```  

[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:

```
{"_": "messages.messageEditData", "caption": Bool}
```


Or, if you're into Lua:  


```
messages_messageEditData={_='messages.messageEditData', caption=Bool}

```