public async void SendFlashSMS() { var client = new ApiClient(TestUser, TestPassword); var id = await client.SendSMSAsync("+46702386266", "+46702386266", "The answer is 42", true); Assert.IsFalse(string.IsNullOrEmpty(id)); }
public async void SendWithConfirmationUrl() { var client = new ApiClient(TestUser, TestPassword); var id = await client.SendSMSAsync("+46702386266", "+46702386266", "I know you have read this!", false, new Uri("http://sms.tomv.io/confirm")); Assert.IsFalse(string.IsNullOrEmpty(id)); }
public async void SendSMS() { var client = new ApiClient(TestUser, TestPassword); var id = await client.SendSMSAsync("+46702386266", "+46702386266", "I know where you live!"); Assert.IsFalse(string.IsNullOrEmpty(id)); }
public void SendTextRequiresSender() { var client = new ApiClient(TestUser, TestPassword); client.SendSMSAsync(null, null, null, false); }