# messageEntityDiffReplace

> messageEntityDiffReplace attributes, type and example

[Back to constructors index](/API_docs/constructors/index.html)



### Attributes:

| Name     |    Type       | Required |
|----------|---------------|----------|
|offset|[int](/API_docs/types/int.html) | Yes|
|length|[int](/API_docs/types/int.html) | Yes|
|old\_text|[string](/API_docs/types/string.html) | Yes|



### Type: [MessageEntity](/API_docs/types/MessageEntity.html)


### Example:

```
$messageEntityDiffReplace = ['_' => 'messageEntityDiffReplace', 'offset' => int, 'length' => int, 'old_text' => 'string'];
```
