MessageEntityMentionName

class pyrogram.raw.types.MessageEntityMentionName

Message entity representing a user mention: for creating a mention use inputMessageEntityMentionName.

Constructor of MessageEntity.

Details:
  • Layer: 194

  • ID: DC7B1140

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)

  • user_id (int 64-bit) – Identifier of the user that was mentioned