MessageEntityTextUrl#

class pyrogram.raw.types.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 of MessageEntity.

Details:
  • Layer: 211

  • ID: 76A6D327

Parameters:
offset (int 32-bit):

Offset of message entity within message (in UTF-16 code units)

length (int 32-bit):

Length of message entity within message (in UTF-16 code units)

url (str):

The actual URL