https://github.com/igor-adlab/hemera-twilio-sms
Hemera Twilio SMS
https://github.com/igor-adlab/hemera-twilio-sms
hemera sms twilio typescript
Last synced: about 1 year ago
JSON representation
Hemera Twilio SMS
- Host: GitHub
- URL: https://github.com/igor-adlab/hemera-twilio-sms
- Owner: Igor-Adlab
- Created: 2017-12-20T06:46:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-20T07:11:06.000Z (over 8 years ago)
- Last Synced: 2025-01-28T17:45:35.953Z (over 1 year ago)
- Topics: hemera, sms, twilio, typescript
- Language: TypeScript
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hemera SMS
Plugin for Twilio SMS
## Examples
### Setup
```javascript
const FCM = require('hemera-twilio-sms');
// Code...
hemera.use(FCM, { account: '...', token: '...' });
```
### Send Text Message
```javascript
hemera.act({
cmd: "CMD_SEND_SMS",
topic: "TOPIC_TWILIO_SMS",
payload: {
from: '...',
to: '...',
body: '...'
},
}, function() {})
```