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 ».

Constructor schema is available as of layer 34. Switch »

Parameters

Name Type Description
offset int Offset of message entity within message (in UTF-16 code units)
length int Length of message entity within message (in UTF-16 code units)
url string The actual URL

Type

MessageEntity

Related pages

Styled text with message entities

How to create styled text with message entities

messageEntityUrl

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

Client configuration

The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.