コード例 #1
0
ファイル: Reference.cs プロジェクト: arshad-ashraf-a/Takamul
 public PushMessageRequestBody(string UserID, string Password, string Message, int Language, System.DateTime ScheddateTime, Takamul.API.SMSService.ArrayOfString Recipients, int RecipientType)
 {
     this.UserID        = UserID;
     this.Password      = Password;
     this.Message       = Message;
     this.Language      = Language;
     this.ScheddateTime = ScheddateTime;
     this.Recipients    = Recipients;
     this.RecipientType = RecipientType;
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: arshad-ashraf-a/Takamul
 public System.Threading.Tasks.Task <Takamul.API.SMSService.PushMessageResponse> PushMessageAsync(string UserID, string Password, string Message, int Language, System.DateTime ScheddateTime, Takamul.API.SMSService.ArrayOfString Recipients, int RecipientType)
 {
     Takamul.API.SMSService.PushMessageRequest inValue = new Takamul.API.SMSService.PushMessageRequest();
     inValue.Body               = new Takamul.API.SMSService.PushMessageRequestBody();
     inValue.Body.UserID        = UserID;
     inValue.Body.Password      = Password;
     inValue.Body.Message       = Message;
     inValue.Body.Language      = Language;
     inValue.Body.ScheddateTime = ScheddateTime;
     inValue.Body.Recipients    = Recipients;
     inValue.Body.RecipientType = RecipientType;
     return(((Takamul.API.SMSService.IBulkSMSSoap)(this)).PushMessageAsync(inValue));
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: arshad-ashraf-a/Takamul
 public int PushMessage(string UserID, string Password, string Message, int Language, System.DateTime ScheddateTime, Takamul.API.SMSService.ArrayOfString Recipients, int RecipientType)
 {
     Takamul.API.SMSService.PushMessageRequest inValue = new Takamul.API.SMSService.PushMessageRequest();
     inValue.Body               = new Takamul.API.SMSService.PushMessageRequestBody();
     inValue.Body.UserID        = UserID;
     inValue.Body.Password      = Password;
     inValue.Body.Message       = Message;
     inValue.Body.Language      = Language;
     inValue.Body.ScheddateTime = ScheddateTime;
     inValue.Body.Recipients    = Recipients;
     inValue.Body.RecipientType = RecipientType;
     Takamul.API.SMSService.PushMessageResponse retVal = ((Takamul.API.SMSService.IBulkSMSSoap)(this)).PushMessage(inValue);
     return(retVal.Body.PushMessageResult);
 }