Elisa WhatsApp
Elisa Whatsapp is a library to dealing with the comunication bettween channels and server.
#Installation
npm i @uneiotech/elisa_whatsapp
const config = { apiKey: , url : }
const elisaWhatsApp = new ElisaWhatsApp(config)
#How to send message
const message = { numberTo:"099999999999", type:"text", message:"My first message" }
elisaWhatsApp.sendMessage(message).then(res =>{ console.log("Response",res) }) .catch(err=>{ console.log("Error", err) }) console.log("Elisa whatsApp")