messageEntityUrl #

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

End-to-end schema #

===45===
messageEntityUrl#6ed02538 offset:int length:int = MessageEntity;

API schema #

Layer 223

messageEntityUrl#6ed02538 offset:int length:int = MessageEntity;

Parameters #

NameTypeDescription
offsetintOffset of message entity within message (in UTF-16 code units)
lengthintLength of message entity within message (in UTF-16 code units)

Type #

MessageEntity

Styled text with message entities #

How to create styled text with message entities

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