Added Markdown support for telegram-bot-bash

This commit is contained in:
Ignacio Iglesias 2016-03-18 01:34:05 +01:00
parent fce86d0884
commit 76e96c05a1

View File

@ -60,7 +60,7 @@ send_message() {
fi
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
}