whatsapp-cloud-api.js
v1.1.4
Published
This is a full implementation of official WhatsApp Cloud API
Downloads
23
Maintainers
Readme
whatsapp-cloud-api.js
This is a full implementation of official WhatsApp Cloud API
Installation
The module is now available on npm!
npm i --save whatsapp-web.js
Example usage
const { WhatsAppCloudApi } = require('whatsapp-web.js');
const wAPI = new WhatsAppCloudApi({
appToken: 'xxxxxx'
});
wAPI.sendMessage({
type:'text',
to: {
phoneNumber: '1xxxxx'
},
from: {
phoneNumberId: 'xxxxx'
},
message:{
body: 'Hello World'
}
})
Supported features
| Feature | Status | | ------------- | ------------- | | Send text messages | ✅ |
Something missing? Make an issue and let us know!
Contributing
Pull requests are welcome! If you want something you'd like to add, please do. For drastic changes, please open an issue first.
Disclaimer
This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with WhatsApp or any of its subsidiaries or its affiliates. The official WhatsApp website can be found at https://whatsapp.com and official documentation for Meta can be found at https://developers.facebook.com/docs/whatsapp/cloud-api. "WhatsApp" as well as related names, marks, emblems and images are registered trademarks of their respective owners.