RichText#

class pyrogram.raw.base.RichText#

Rich text.

Constructors:

This base type has 16 constructors available.

TextAnchor

Text linking to another section of the page.

TextBold

Bold text.

TextConcat

Concatenation of rich texts.

TextEmail

Rich text email link.

TextEmpty

Empty rich text element.

TextFixed

fixed-width rich text.

TextImage

Inline image.

TextItalic

Italic text.

TextMarked

Highlighted text.

TextPhone

Rich text linked to a phone number.

TextPlain

Plain text.

TextStrike

Strikethrough text.

TextSubscript

Subscript text.

TextSuperscript

Superscript text.

TextUnderline

Underlined text.

TextUrl

Link.