api/sendpulse.js
function smsSend(callback, sender_name, phones, body, date, transliterate) {
    if (sender_name === undefined) {
        return callback(returnError("Empty sender name"));
    }
    if ((phones === undefined) || (!phones.length)) {
        return callback(returnError("Empty phones"));
    }
    if (body === undefined) {
        return callback(returnError("Empty sms text"));
    }
    var data = {
        'sender': sender_name,
        'phones': JSON.stringify(phones),
        'body': body,
        'date': date,
        'transliterate': transliterate
    }

    sendRequest('sms/send', 'POST', data, true, callback);
}
function smsSend(callback, sender_name, phones, body, date, transliterate) {
    if (sender_name === undefined) {
        return callback(returnError("Empty sender name"));
    }
    if ((phones === undefined) || (!phones.length)) {
        return callback(returnError("Empty phones"));
    }
    if (body === undefined) {
        return callback(returnError("Empty sms text"));
    }
    var data = {
        'sender': sender_name,
        'phones': JSON.stringify(phones),
        'body': body,
        'date': date,
        'transliterate': transliterate
    }

    sendRequest('sms/send', 'POST', data, true, callback);
}
function smsSend ( callback , sender_name , phones , body , date , transliterate ) { if ( sender_name === undefined ) { return callback ( returnError ( "Empty sender name" ) ) ; } if ( ( phones === undefined ) || ( ! phones . length ) ) { return callback ( returnError ( "Empty phones" ) ) ; } if ( body === undefined ) { return callback ( returnError ( "Empty sms text" ) ) ; } var data = { 'sender' : sender_name , 'phones' : JSON . stringify ( phones ) , 'body' : body , 'date' : date , 'transliterate' : transliterate } sendRequest ( 'sms/send' , 'POST' , data , true , callback ) ; }
Send sms by some phones

@param callback
@param sender_name
@param phones
@param body
@param date
@param transliterate
Send sms by some phones