View Source ExTDLib.Method.ParseTextEntities (ExTDLib v0.0.4)

Parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, BlockQuote, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text. Can be called synchronously. Returns object_ptr<FormattedText>.

NameTypeDescription
textstringThe text to parse.
parse_modeTextParseModeText parse mode.

More details on telegram's documentation.