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`
## 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