This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
Releases: tawn33y/whatsapp-cloud-api
Releases · tawn33y/whatsapp-cloud-api
v0.3.1
v0.3.0
v0.2.6
v0.2.5
v0.2.1
- Fix bugs; see full list here
- Add new function:
- sendText(to, text, [options])
- Export
Bot
andMessage
interfaces - Add
Tutorial
& update documentation
v0.2.0
v0.1.0
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
Beta release. No changes.
v0.1.0-alpha.2
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
Minimum first version. Contains basic functions such as:
const bot = createBot();
bot.sendText()
bot.sendMedia()
bot.sendLocation()
bot.sendContacts()
bot.sendInteractive()
bot.sendTemplate()