InputMessageEntityMentionName#

class pyrogram.raw.types.InputMessageEntityMentionName#

Message entity that can be used to create a user user mention: received mentions use the messageEntityMentionName constructor, instead.

Constructor of MessageEntity.

Details:
  • Layer: 158

  • ID: 208E68C9

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 (InputUser) – Identifier of the user that was mentioned.