1.2 KiB
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
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'}