Closed Xsmael closed 4 years ago
Okay, I finally found my way out in modem.js
to add it optionally
line 513
- modem.sendSMS = function (number, message, alert = false, smsId, callback) {
+ modem.sendSMS = function (number, message, alert = false, smsId, callback) {
line 527
- let messageID = modem.makeId(25);
+ let messageID = smsId || modem.makeId(25);
so it will be nice if you can add that Thanks.
Can you prepare a PR?
sure
Hello, Is it possible to supply a custom made messageId, when sending an sms ?