mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-22 15:35:09 +00:00
Added Markdown support for telegram-bot-bash
This commit is contained in:
parent
fce86d0884
commit
76e96c05a1
@ -60,7 +60,7 @@ send_message() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$sent" != "y" ];then
|
if [ "$sent" != "y" ];then
|
||||||
res=$(curl -s "$MSG_URL" -F "chat_id=$chat" -F "text=$text")
|
res=$(curl -s "$MSG_URL" -F "chat_id=$chat" -F "text=$text" -F "parse_mode=markdown")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user