nl_tokens: Send sms by some phones
pl_tokens: function smsSend ( callback , sender_name , phones , body , date , transliterate ) { if ( sender_name === undefined ) { return <mask> ( 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 ) ; }