Message entity representing an in-text url: https://google.com; for text urls, use messageEntityTextUrl.
messageEntityUrl#6ed02538 offset:int length:int = 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) |
How to create styled text with message entities
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 ยป.