i am trying to send sms using push bullet in nodeJs. From the push bullet docs, i got the function : "sendSMS", which can be used to send the message as SMS to a mobile phone. But, when i run the code, it is saying that "sendSMS is not a function". Can anyone please help me on this.
My nodejs code will be as follows :
var pusher = new PushBullet('MY-API-KEY');
var options = {
source_user_iden: 'uj*******K',
target_device_iden: 'uj***************q',
conversation_iden: '+91 7********6',
message: 'Hello!' };
pusher.sendSMS(options, function(err, response) {
console.log(response); });