public static SmsResponse SendSms( string mobileNo, string messageBody, string entityID, string entityName) { return(SmsManager.SendSms(mobileNo, messageBody, entityID, entityName, SmsReceiverType.Unknown, new int?())); }
public static async Task <SmsResponse> SendSmsAsync( string mobileNo, string messageBody, string entityID, string entityName) { SmsResponse smsResponse = await SmsManager.SendSmsAsync(mobileNo, messageBody, entityID, entityName, SmsReceiverType.Unknown, new int?()); return(smsResponse); }
public static SmsResponse SendSms( string mobileNo, string messageBody, string entityID, string entityName, SmsReceiverType receiverType, int?receiverID) { return(SmsManager.SendSms(new SmsData() { MessageBody = messageBody, MobileNo = mobileNo, EntityID = entityID, EntityName = entityName, RecieverID = receiverID, SmsReceiverType = receiverType })); }
public static async Task <SmsResponse> SendSmsAsync( string mobileNo, string messageBody, string entityID, string entityName, SmsReceiverType receiverType, int?receiverID) { SmsData smsData = new SmsData() { MessageBody = messageBody, MobileNo = mobileNo, EntityID = entityID, EntityName = entityName, RecieverID = receiverID, SmsReceiverType = receiverType }; SmsResponse smsResponse = await SmsManager.SendSmsAsync(smsData); return(smsResponse); }