Added MarkdownV2 mode to Telegram, see #1032

burner1024 2020-03-16 16:24:14 +07:00
parent f6a089afb6
commit 46a8daecd6

@ -1096,17 +1096,18 @@ Example: enable it
`MediaConvertWebPToPNG=true` `MediaConvertWebPToPNG=true`
## MessageFormat ## MessageFormat
Supported formats are `HTML`, `Markdown` and `HTMLNick` Supported formats are:
See https://core.telegram.org/bots/api#html-style - [`HTML`](https://core.telegram.org/bots/api#html-style)
See https://core.telegram.org/bots/api#markdown-style - [`Markdown`](https://core.telegram.org/bots/api#markdown-style). Deprecated, does not display links with underscores `_` correctly.
`HTMLNick` only allows HTML for the nick, the message itself will be html-escaped - [`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 \ Setting: OPTIONAL, RELOADABLE \
Format: string \ Format: string \
Default: "" \ Default: "" \
Example: Send as markdown Example: Send as MarkdownV2
`MessageFormat="Markdown"` `MessageFormat="MarkdownV2"`
## QuoteDisable ## QuoteDisable
Disable quoted/reply messages Disable quoted/reply messages