Skip to content

utils.hyperlink

util

Convert the given text to hyperlink format

utils.hyperlink(
  text: str,
  url: str,
  html: bool = True,
  escape: bool = True
) → str

Source: pytdbot/utils/text_format.py