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 ».
messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity;
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 |
How to create styled text with message entities
Message entity representing an in-text url: https://google.com; for text urls, use messageEntityTextUrl.
The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.