Expand description
Utils for working with the Markdown V2 message style.
Functions
Applies the bold font style to the string.
Formats the code block.
Formats the code block with a specific language syntax.
Formats the string as an inline code.
Escapes the string to be shown “as is” within the Telegram Markdown
v2 message style.
Escapes all markdown special characters specific for the code block (``` and
\
).Escapes all markdown special characters specific for the inline link URL
(``` and
)
).Applies the italic font style to the string.
Builds an inline link with an anchor.
Applies the strikethrough font style to the string.
Applies the underline font style to the string.
Builds an inline user mention link with an anchor.