danog\MadelineProto\RichParseMode: How to parse the text of a [rich message](https://core.telegram.org/bots/api#sendrichmessage).
Author: Daniil Gentili daniil@daniil.it
How to parse the text of a rich message.
Unlike ParseMode, MadelineProto doesn’t parse Markdown and HTML: Telegram does, with the syntax of rich messages (headings, lists, tables, media embedded by ID with tg://photo?id= and tg://document?id=, and so on).
Constants
danog\MadelineProto\RichParseMode::MARKDOWN: Markdown, parsed by Telegramdanog\MadelineProto\RichParseMode::HTML: HTML, parsed by Telegramdanog\MadelineProto\RichParseMode::TEXT: Plain text, sent as a single paragraph
Properties
$name:string$value:string
Method list:
Methods:
cases(): array
from(string|int $value): static
Parameters:
$value:string|int
tryFrom(string|int $value): ?static
Parameters:
$value:string|int
Generated by danog/phpdoc