send(contactNumber, senderId, otp, callback) {
        if (typeof otp === 'function') {
            callback = otp;
            otp = SendOtp.generateOtp()
        }
        let args = {
                authkey: this.authKey,
                mobile: contactNumber,
                sender: senderId,
                message: this.messageTemplate.replace('{{otp}}', otp),
                otp: otp,
                otp_expiry: this.otp_expiry
            };
        return SendOtp.doRequest('get', "sendotp.php", args, callback);
    }
/**
     * Send Otp to given mobile number
     * @param {string} contactNumber receiver's mobile number along with country code
     * @param {string} senderId
     * @param {string, optional} otp
     * Return promise if no callback is passed and promises available
     */
Send Otp to given mobile number
@param {string} contactNumber receiver's mobile number along with country code
@param {string} senderId
@param {string, optional} otp
Return promise if no callback is passed and promises available
Send Otp to given mobile number @param { string } contactNumber receiver ' s mobile number along with country code @param { string } senderId @param { string optional } otp Return promise if no callback is passed and promises available
send(contactNumber, senderId, otp, callback) {
        if (typeof otp === 'function') {
            callback = otp;
            otp = SendOtp.generateOtp()
        }
        let args = {
                authkey: this.authKey,
                mobile: contactNumber,
                sender: senderId,
                message: this.messageTemplate.replace('{{otp}}', otp),
                otp: otp,
                otp_expiry: this.otp_expiry
            };
        return SendOtp.doRequest('get', "sendotp.php", args, callback);
    }
send ( contactNumber , senderId , otp , callback ) { if ( typeof otp === 'function' ) { callback = otp ; otp = SendOtp . generateOtp ( ) } let args = { authkey : this . authKey , mobile : contactNumber , sender : senderId , message : this . messageTemplate . replace ( '{{otp}}' , otp ) , otp : otp , otp_expiry : this . otp_expiry } ; return SendOtp . doRequest ( 'get' , "sendotp.php" , args , callback ) ; }
Send Otp to given mobile number
 @param {string} contactNumber receiver's mobile number along with country code
 @param {string} senderId
 @param {string, optional} otp
 Return promise if no callback is passed and promises available
Send Otp to given mobile number @param { string } contactNumber receiver ' s mobile number along with country code @param { string } senderId @param { string optional } otp Return promise if no callback is passed and promises available