MadelineProtoDocs/old_docs/API_docs_v51/constructors/messageEntityCode.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

858 B

title description image
messageEntityCode Message entity code https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageEntityCode

Back to constructors index

Message entity code

Attributes:

Name Type Required Description
offset int Yes Offset
length int Yes Length

Type: MessageEntity

Example:

$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int];

PWRTelegram json-encoded version:

{"_": "messageEntityCode", "offset": int, "length": int}

Or, if you're into Lua:

messageEntityCode={_='messageEntityCode', offset=int, length=int}