RichTextMathematicalExpression

class aiogram.types.rich_text_mathematical_expression.RichTextMathematicalExpression(*, type: Literal[RichTextType.MATHEMATICAL_EXPRESSION] = RichTextType.MATHEMATICAL_EXPRESSION, expression: str, **extra_data: Any)[source]

A mathematical expression.

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

type: Literal[RichTextType.MATHEMATICAL_EXPRESSION]

Type of the rich text, always ‘mathematical_expression’

expression: str

The expression in LaTeX format