示例#1
0
		/// <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);
		}
示例#2
0
		/// <summary>
		/// Send a single SMS message.
		/// </summary>
		public ServiceResult PostSmsMessagesSendTo(string telephoneNumber, ApiSms apiSms)
		{
			return PostSmsMessagesSendToAsync(telephoneNumber, apiSms).Result;
		}