/// <summary> /// Send a single SMS message. /// </summary> public async Task<ServiceResult> PostSmsMessagesSendToAsync(string telephoneNumber, ApiSms apiSms) { var request = new Request(baseAddress, "sms-messages/send-to/{telephoneNumber}", new Dictionary<string, object> { { "telephoneNumber", telephoneNumber }, }); return await PostAsync(request, apiSms); }
/// <summary> /// Send a single SMS message. /// </summary> public ServiceResult PostSmsMessagesSendTo(string telephoneNumber, ApiSms apiSms) { return PostSmsMessagesSendToAsync(telephoneNumber, apiSms).Result; }