mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-16 13:05:09 +00:00
Merge pull request #7 from iicc1/patch-1
Added Markdown support for telegram-bot-bash
This commit is contained in:
commit
7b38ed5389
@ -65,6 +65,10 @@ send_message() {
|
||||
|
||||
}
|
||||
|
||||
send_markdown_message() {
|
||||
res=$(curl -s "$MSG_URL" -F "chat_id=$1" -F "text=$2" -F "parse_mode=markdown")
|
||||
}
|
||||
|
||||
send_keyboard() {
|
||||
local chat="$1"
|
||||
local text="$2"
|
||||
|
Loading…
Reference in New Issue
Block a user