- Adds sender
name
. Change added by @guskuma. - Capture message context always. Change added by @guskuma.
- PR #24
- 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.
- Fix bugs; see full list here
- Add new function:
- sendText(to, text, [options])
- Export
Bot
andMessage
interfaces - Add
Tutorial
& update documentation
Added functionality to receive messages:
- on(event, cb: (message) => void)
- startExpressServer([options])
Stable release. No changes.
Beta release. No changes.
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])
First version.