MadelineProtoDocs/old_docs/API_docs_v75/constructors/messageEntityMention.md

44 lines
846 B
Markdown
Raw Normal View History

2018-06-29 13:59:08 +02:00
---
title: messageEntityMention
description: messageEntityMention attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageEntityMention
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|offset|[int](../types/int.md) | Yes|
|length|[int](../types/int.md) | Yes|
### Type: [MessageEntity](../types/MessageEntity.md)
### Example:
```php
2018-06-29 13:59:08 +02:00
$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "messageEntityMention", "offset": int, "length": int}
```
Or, if you're into Lua:
2018-06-29 13:59:08 +02:00
```lua
2018-06-29 13:59:08 +02:00
messageEntityMention={_='messageEntityMention', offset=int, length=int}
```