This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
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])