Skip to content

ancoreraj/whatsapp-cloud-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

npm install --save meta-whatsapp-api

How to Use

Sending Messages

import {WhatsappAPI} from "meta-whatsapp-api";


const wp = new WhatsappAPI({
    fromPhoneNumberId: "<from-phone-number-id>", // required
    accessToken: "<access-token>", // required
})

await wp.sendTextMessage("<phone-number-to-send>", "<plain-message>");

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published