MadelineProtoDocs/docs/API_docs/constructors/messageEntityUrl.md
2024-05-01 14:53:46 +02:00

1.1 KiB

title description nav_exclude image
messageEntityUrl Message entity representing an in-text url: <https://google.com>; for text urls, use messageEntityTextUrl. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageEntityUrl

Back to constructors index

Message entity representing an in-text url: https://google.com; for text urls, use messageEntityTextUrl.

Attributes:

Name Type Required Description
offset int Yes Offset of message entity within message (in UTF-16 code units)
length int Yes Length of message entity within message (in UTF-16 code units)

Type: MessageEntity

Example:

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