RichTextTextMention

class pyrogram.types.RichTextTextMention[source]

A mention of a Telegram user by their identifier.

Parameters:
  • text (RichText) – The text.

  • user (User) – The mentioned user.