From 46a8daecd6b15b63b31d88a174ee30c10e25fa85 Mon Sep 17 00:00:00 2001 From: burner1024 Date: Mon, 16 Mar 2020 16:24:14 +0700 Subject: [PATCH] Added MarkdownV2 mode to Telegram, see #1032 --- Settings.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Settings.md b/Settings.md index 0dd6bb5..3bfae55 100644 --- a/Settings.md +++ b/Settings.md @@ -1096,17 +1096,18 @@ Example: enable it `MediaConvertWebPToPNG=true` ## MessageFormat -Supported formats are `HTML`, `Markdown` and `HTMLNick` -See https://core.telegram.org/bots/api#html-style -See https://core.telegram.org/bots/api#markdown-style -`HTMLNick` only allows HTML for the nick, the message itself will be html-escaped +Supported formats are: +- [`HTML`](https://core.telegram.org/bots/api#html-style) +- [`Markdown`](https://core.telegram.org/bots/api#markdown-style). Deprecated, does not display links with underscores `_` correctly. +- [`MarkdownV2`](https://core.telegram.org/bots/api#markdownv2-style) +- `HTMLNick`. This only allows HTML for the nick, the message itself will be html-escaped. Setting: OPTIONAL, RELOADABLE \ Format: string \ Default: "" \ -Example: Send as markdown +Example: Send as MarkdownV2 -`MessageFormat="Markdown"` +`MessageFormat="MarkdownV2"` ## QuoteDisable Disable quoted/reply messages