MessageEntityMention#

class pyrogram.raw.types.MessageEntityMention#

Message entity mentioning a user by @username; messageEntityMentionName can also be used to mention users by their ID.

Constructor of MessageEntity.

Details:
  • Layer: 158

  • ID: FA04579D

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