mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-22 15:35:09 +00:00
doc: \ as linebreak?
This commit is contained in:
parent
a210da4ffa
commit
d70a4616ca
@ -38,8 +38,7 @@ send_normal_message "${CHAT[ID]}" "this is a text message"
|
||||
Telegram supports a new [Markdown V2 Style](https://core.telegram.org/bots/api#markdownv2-style) which
|
||||
has more formatting codes and is more robust, but incompatible with old telegram markdown style.
|
||||
|
||||
To send characters reserved for markdown v2 formatting, you must prefix them with `\` ( e.g. `\| \= \_ \*`).
|
||||
|
||||
To send characters reserved for markdown v2 formatting, you must prefix them with `\` ( e.g. `\| \= \_ \*`).\
|
||||
*Hint*: If a message is not sent, have a look in `logs/ERROR.log`
|
||||
|
||||
*usage:* send_markdownv2_message "${CHAT[ID]}" "markdown message"
|
||||
@ -1150,5 +1149,5 @@ The name of your bot is available as bash variable "$ME", there is no need to ca
|
||||
#### [Prev Best Practice](5_practice.md)
|
||||
#### [Next Notes for Developers](7_develop.md)
|
||||
|
||||
#### $$VERSION$$ v1.21-pre-29-gdad68a9
|
||||
#### $$VERSION$$ v1.21-pre-30-gbbda41b
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user