nodejs-whatsapp-cloud-bot

1.0.8 • Public • Published

Nodejs-whatsapp-bot

A NodeJs library that conneects to the new Whatsapp cloud API. https://www.npmjs.com/package/nodejs-whatsapp-cloud-bot

To use, run

npm install nodejs-whatsapp-bot

or

yarn add nodejs-whatsapp-bot

Sample usage

Send a Text message

const { Whatsapp } = require('nodejs-whatsapp-cloud-bot');

const bot = new Whatsapp(WHATSAPP_ID, WHATSAPP_TOKEN);
const target_phone_number = "123xxxx";

bot.send_text(target_phone_number, "Hello.....\nTesting text messaging feature")

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i nodejs-whatsapp-cloud-bot

    Weekly Downloads

    2

    Version

    1.0.8

    License

    ISC

    Unpacked Size

    4.41 kB

    Total Files

    10

    Last publish

    Collaborators

    • radi_dev