mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2025-01-15 10:16:59 +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() {
|
send_keyboard() {
|
||||||
local chat="$1"
|
local chat="$1"
|
||||||
local text="$2"
|
local text="$2"
|
||||||
|
Loading…
Reference in New Issue
Block a user