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

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.