curl -v
This commit is contained in:
@@ -6,7 +6,7 @@ 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 -v POST "https://api.telegram.org/bot$1/sendMessage" \
|
||||
-d "chat_id=$2" \
|
||||
-d "parse_mode=MarkdownV2" \
|
||||
-d "link_preview_options={\"is_disabled\":true}" \
|
||||
|
||||
Reference in New Issue
Block a user