Skip to content

utils.mention

util

Convert the given text to inline mention format

utils.mention(
  text: str,
  user_id: str,
  html: bool = True,
  escape: bool = True
) → str

Source: pytdbot/utils/text_format.py