MadelineProtoDocs/old_docs/API_docs_v68/constructors/messageEntityTextUrl.md
2019-12-27 17:48:04 +01:00

1.2 KiB

title: messageEntityTextUrl description: Message entity representing a text url: for in-text urls like https://google.com use messageEntityUrl. image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageEntityTextUrl

Back to constructors index

Message entity representing a text url: for in-text urls like https://google.com use messageEntityUrl.

Attributes:

Name Type Required Description
offset int Yes Offset of message entity within message (in UTF-8 codepoints)
length int Yes Length of message entity within message (in UTF-8 codepoints)
url string Yes The actual URL

Type: MessageEntity

Example:

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

Or, if you're into Lua:

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