Constructor: messageEntityTextUrl
Message entity representing a text url: for in-text urls like https://google.com use messageEntityUrl.
Note that an additional confirmation popup with the full URL must be displayed to the user before opening this link, unless the domain satisfies the conditions specified in the domain whitelist documentation ».
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) |
url | string | Yes | The actual URL |
Type: MessageEntity
Example:
$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => 'string'];