Link Search Menu Expand Document

Constructor: messageEntityUrl

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
offsetintYesOffset of message entity within message (in UTF-16 code units)
lengthintYesLength of message entity within message (in UTF-16 code units)

Type: MessageEntity

Example:

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