Skip to content

Client.parseText

client method · async

Parses Bold, Italic, Underline, Strikethrough, Spoiler, Code, Pre, PreCode, TextUrl and MentionName entities contained in the text

Client.parseText(
  text: str,
  parse_mode: str = 'html'
) → Error | FormattedText

Source: pytdbot/methods/methods.py