MessageEntityMentionName

class pyrogram.raw.types.MessageEntityMentionName

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

Constructor type of MessageEntity.

Details
  • Layer: 126

  • ID: 0x352dca58

Parameters
  • offset (int 32-bit) – Offset of message entity within message (in UTF-8 codepoints).

  • length (int 32-bit) – Length of message entity within message (in UTF-8 codepoints).

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