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 type of MessageEntity.

Details
  • Layer: 126

  • ID: 0x208e68c9

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