public static void SendCommonSms(string cellNumber, string message) { var token = new Token().GetToken("c34c137660319581a9c21376", "123qwe!@#QWE"); SmsIrRestful.MessageSend messageSend = new SmsIrRestful.MessageSend(); var res = messageSend.Send(token, new SmsIrRestful.MessageSendObject() { MobileNumbers = new List <string>() { cellNumber }.ToArray(), Messages = new List <string>() { message }.ToArray(), LineNumber = "30002101000785", SendDateTime = null, CanContinueInCaseOfError = false }); SmsIrRestful.Credit credit = new SmsIrRestful.Credit(); SmsIrRestful.CreditResponse creditResponse = new SmsIrRestful.CreditResponse(); }
public static void SendCommonSms(string cellNumber, string message) { var token = new Token().GetToken("db67a48dbe57332ec63980c", "rushwebSmsApi"); SmsIrRestful.MessageSend messageSend = new SmsIrRestful.MessageSend(); var res = messageSend.Send(token, new SmsIrRestful.MessageSendObject() { MobileNumbers = new List <string>() { cellNumber }.ToArray(), Messages = new List <string>() { message }.ToArray(), LineNumber = "30002101001187", SendDateTime = null, CanContinueInCaseOfError = false }); SmsIrRestful.Credit credit = new SmsIrRestful.Credit(); SmsIrRestful.CreditResponse creditResponse = new SmsIrRestful.CreditResponse(); }
public void SendCommonSms(string cellNumber, string message) { var token = new Token().GetToken("773e6490afdaeccca1206490", "123qwe!@#QWE"); SmsIrRestful.MessageSend messageSend = new SmsIrRestful.MessageSend(); var res = messageSend.Send(token, new SmsIrRestful.MessageSendObject() { MobileNumbers = new List <string>() { cellNumber }.ToArray(), Messages = new List <string>() { message }.ToArray(), LineNumber = "30004747475709", SendDateTime = null, CanContinueInCaseOfError = false }); SmsIrRestful.Credit credit = new SmsIrRestful.Credit(); SmsIrRestful.CreditResponse creditResponse = new SmsIrRestful.CreditResponse(); }