echo
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
MESSAGE=$(echo -e "$3")
|
MESSAGE=$(echo -e "$3")
|
||||||
|
|
||||||
|
echo token=$1
|
||||||
|
echo chat_id=$2
|
||||||
|
echo text=$3
|
||||||
|
|
||||||
response=$(curl -s -X POST "https://api.telegram.org/bot$1/sendMessage" \
|
response=$(curl -s -X POST "https://api.telegram.org/bot$1/sendMessage" \
|
||||||
-d "chat_id=$2" \
|
-d "chat_id=$2" \
|
||||||
-d "parse_mode=MarkdownV2" \
|
-d "parse_mode=MarkdownV2" \
|
||||||
|
|||||||
Reference in New Issue
Block a user