1.0.4 • Published 3 years ago
msg_send v1.0.4
msg_send
Project setup
npm install msg_send
Description
message sending for hiotter
Usage
const {msgSend} = require('msg_send')
const params = {
msg: {from: 'source', to: '8XXXXXXX', content: 'hello world!'},
appid: 'example_appid',
publicKey: 'example_key'
}
msgSend( params ).then(res => {
console.log('sending message...', res)
}).catch(err => {
console.log('err -->', err)
})