parse_text_entities_sync


Description:

public FormattedText parse_text_entities_sync (string text, TextParseMode parse_mode) throws TDLibError

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

Parameters:

text

The text to parse

parse_mode

Text parse mode