Closed DEVIDTR closed 4 months ago
Hi,
I am not able to send a massage using curl:
curl -H "Content-Type: application/json" -X POST -d '{"command":"sendMessage","params": ["Hello @PHONE_NUMBER"]}' http://IP:4000/command
Do I miss something?
hi, for the function sendMessage you must pass 2 parameters: the chat_id and the message
sendMessage
chat_id
message
try this ;0
Hi,
I am not able to send a massage using curl:
curl -H "Content-Type: application/json" -X POST -d '{"command":"sendMessage","params": ["Hello @PHONE_NUMBER"]}' http://IP:4000/command
Do I miss something?