RichTextMention

class pyrogram.types.RichTextMention[source]

A mention by a username.

Parameters:
  • text (RichText) – The text.

  • username (str) – The username.