Skip to content

getMarkdownText

Function · TDLib 1.8.67 · d1085f9c

Replaces text entities with Markdown formatting in a human-friendly format. Entities that can't be represented in Markdown unambiguously are kept as is. Can be called synchronously

getMarkdownText(
  text: FormattedText
) → FormattedText

text

FormattedText

The text