This commit is contained in:
Kirill Chikalin
2025-03-20 08:32:26 +03:00
parent a5f446cc39
commit d6d3cd31ba

View File

@@ -2,11 +2,11 @@
MESSAGE=$(echo -e "$3") MESSAGE=$(echo -e "$3")
echo token=$1 token=$1
echo chat_id=$2 echo chat_id=$2
echo text=$MESSAGE echo text=$MESSAGE
response=$(curl -s -X -v POST "https://api.telegram.org/bot$1/sendMessage" \ response=$(curl -s -X -v POST "https://api.telegram.org/bot$token/sendMessage" \
-d "chat_id=$2" \ -d "chat_id=$2" \
-d "parse_mode=MarkdownV2" \ -d "parse_mode=MarkdownV2" \
-d "link_preview_options={\"is_disabled\":true}" \ -d "link_preview_options={\"is_disabled\":true}" \