pub async fn parse_text_entities(
text: String,
parse_mode: TextParseMode,
client_id: i32,
) -> Result<FormattedText, Error>
Expand description
Parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, BlockQuote, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text. Can be called synchronously
ยงArguments
text
- The text to parseparse_mode
- Text parse modeclient_id
- The client id to send the request to