Nothing Special   »   [go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Releases: tawn33y/whatsapp-cloud-api

v0.3.1

11 Apr 21:29
Compare
Choose a tag to compare
  • Fix README.md 404 error

v0.3.0

11 Apr 21:28
Compare
Choose a tag to compare
  • Add option to unsubscribe from a bot listener

v0.2.6

02 Sep 17:14
dca5f11
Compare
Choose a tag to compare

v0.2.5

23 Jul 12:30
Compare
Choose a tag to compare
  • Reduced bundle size by removing unnecessary files/folders from build.
  • Repaired broken packages by fixing failing husky issues.
  • Unpublished v0.2.2...v0.2.4 (broken packages).
  • Add steps to do local package build & test it.

v0.2.1

23 Jul 10:03
Compare
Choose a tag to compare
  • Fix bugs; see full list here
  • Add new function:
    • sendText(to, text, [options])
  • Export Bot and Message interfaces
  • Add Tutorial & update documentation

v0.2.0

08 Jul 01:45
Compare
Choose a tag to compare

Added functionality to receive messages:

  • on(event, cb: (message) => void)
  • startExpressServer([options])

v0.1.0

18 Jun 08:02
edc157a
Compare
Choose a tag to compare

What's new

Stable release. No changes.

API

  • createBot(fromPhoneNumberId, accessToken, version)
    • sendMessage(to, text, [options])
    • sendImage(to, urlOrObjectId, [options])
    • sendDocument(to, urlOrObjectId, [options])
    • sendAudio(to, urlOrObjectId)
    • sendVideo(to, urlOrObjectId, [options])
    • sendSticker(to, urlOrObjectId)
    • sendLocation(to, latitude, longitude, [options])
    • sendTemplate(to, name, languageCode, [components])
    • sendContacts(to, contacts)
    • sendReplyButtons(to, bodyText, buttons, [options])
    • sendList(to, buttonName, bodyText, sections, [options])

Contributors

v0.1.0-beta

18 Jun 07:51
561ab46
Compare
Choose a tag to compare
v0.1.0-beta Pre-release
Pre-release

Beta release. No changes.

v0.1.0-alpha.2

07 Jun 22:42
033cc0e
Compare
Choose a tag to compare
v0.1.0-alpha.2 Pre-release
Pre-release

Utilizes a more cleaner API:

  • createBot(fromPhoneNumberId, accessToken, version)
    • sendMessage(to, text, [options])
    • sendImage(to, urlOrObjectId, [options])
    • sendDocument(to, urlOrObjectId, [options])
    • sendAudio(to, urlOrObjectId)
    • sendVideo(to, urlOrObjectId, [options])
    • sendSticker(to, urlOrObjectId)
    • sendLocation(to, latitude, longitude, [options])
    • sendTemplate(to, name, languageCode, [components])
    • sendContacts(to, contacts)
    • sendReplyButtons(to, bodyText, buttons, [options])
    • sendList(to, buttonName, bodyText, sections, [options])

v0.1.0-alpha

07 Jun 16:36
ad9f864
Compare
Choose a tag to compare
v0.1.0-alpha Pre-release
Pre-release

Minimum first version. Contains basic functions such as:

const bot = createBot();

bot.sendText()
bot.sendMedia()
bot.sendLocation()
bot.sendContacts()
bot.sendInteractive()
bot.sendTemplate()