getSettings(): This function sends a GET request to the API to retrieve settings for the specified WhatsApp instance.
getStateInstance(): This function sends a GET request to the API to retrieve the state of the specified WhatsApp instance.
sendMessage(): This function sends a POST request to the API to send a message to the specified WhatsApp number. The message parameters are taken from the corresponding form fields.
sendFileByUrl(): This function sends a POST request to the API to send a file from the specified URL to the specified WhatsApp number. The file parameters are taken from the corresponding form fields.
The responses is displayed in the responseField element
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Latest commit | ||||