RichTextSuperscript

class aiogram.types.rich_text_superscript.RichTextSuperscript(*, type: Literal[RichTextType.SUPERSCRIPT] = RichTextType.SUPERSCRIPT, text: RichTextUnion, **extra_data: Any)[source]

A superscript text.

Source: https://core.telegram.org/bots/api#richtextsuperscript

type: Literal[RichTextType.SUPERSCRIPT]

Type of the rich text, always ‘superscript’

text: RichTextUnion

The text