Last active
December 23, 2020 19:50
-
-
Save aleyrizvi/f3a1c072e949f4dd8e0af45506e701bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const nomadoClient = require('nomado'); | |
const nomado = new nomadoClient({'USERNAME', 'PASSWORD'}); | |
const smsOptions = { | |
to: ['3245678901'], | |
message: 'Hello world', | |
unicode: false | |
}; | |
nomado.sms.send(smsOptions) | |
.then((response) => { | |
// .... | |
}) | |
.catch((error) => { | |
// ... error | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment