1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 13:47:24 +01:00
MadelineProto/old_docs/API_docs_v51/constructors/messageEntityTextUrl.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

861 B

title description
messageEntityTextUrl messageEntityTextUrl attributes, type and example

Constructor: messageEntityTextUrl

Back to constructors index

Attributes:

Name Type Required
offset int Yes
length int Yes
url string Yes

Type: MessageEntity

Example:

$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string'];

PWRTelegram json-encoded version:

{"_": "messageEntityTextUrl", "offset": int, "length": int, "url": "string"}

Or, if you're into Lua:

messageEntityTextUrl={_='messageEntityTextUrl', offset=int, length=int, url='string'}