test
This commit is contained in:
@@ -4,7 +4,7 @@ response=$(curl -s -X POST "https://api.telegram.org/bot$1/sendMessage" \
|
||||
-d "chat_id=$2" \
|
||||
-d "parse_mode=MarkdownV2" \
|
||||
-d "link_preview_options={\"is_disabled\":true}" \
|
||||
-d "text=$3")
|
||||
-d "text=\"$3\"")
|
||||
|
||||
# if command -v jq >/dev/null 2>&1; then
|
||||
message_id=$(echo "$response" | jq '.result.message_id')
|
||||
|
||||
Reference in New Issue
Block a user