0.0.3 • Published 9 months ago

wabot-md v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Wabot Multi Device

Installation

install using npm

npm install wabot-md

install using yarn

yarn add wabot-md

install using pnpm

pnpm add wabot-md

Using library

Using ES6

import * as whatsapp from 'wabot-md'

Using CommonJS

const whatsapp = required('wabot-md')

Example Using

import * as whatsapp from 'wabot-md'

const session = await whatsapp.startSession('instance123')

await whatsapp.sendTextMessage({
  sessionId: "xxxxxx", // session ID
  to: "6281234567890", // always add country code (ex: 62)
  text: "Hi There, This is Message from Server!", // message you want to send
})