Module html

Module html 

Source
Expand description

Utils for working with the HTML message style.

Functions§

blockquote
Applies the block quotation style to the string.
bold
Applies the bold font style to the string.
code_block
Formats the code block.
code_block_with_lang
Formats the code block with a specific language syntax.
code_inline
Formats the string as an inline code.
escape
Escapes the string to be shown “as is” within the Telegram HTML message style.
italic
Applies the italic font style to the string.
link
Builds an inline link with an anchor.
strike
Applies the strikethrough font style to the string.
underline
Applies the underline font style to the string.
user_mention
Builds an inline user mention link with an anchor.
user_mention_or_link