FormattedText¶
- class pyrogram.types.FormattedText¶
Contains information about a text with some entities.
- Parameters:
text (
str) – The text.parse_mode (
ParseMode, optional) – Parse mode of the text.entities (List of
MessageEntity, optional) – Entities contained in the text. Entities can be nested, but must not mutually intersect with each other.