Skip to content

Igor-Adlab/hemera-twilio-sms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hemera SMS

Plugin for Twilio SMS

Examples

Setup

const FCM = require('hemera-twilio-sms');
// Code...
hemera.use(FCM, { account: '...', token: '...' });

Send Text Message

hemera.act({
	cmd: "CMD_SEND_SMS",
	topic: "TOPIC_TWILIO_SMS",
	payload: {
	    from: '...',
        to: '...',
        body: '...'
	},
}, function() {})

Releases

No releases published

Packages

No packages published