Skip to content

Pact Sms ISmsSender

welshronaldo edited this page May 30, 2022 · 6 revisions

ISmsSender Interface

Abstraction for an SMS (and optionally Voice) delivery service

public interface ISmsSender

Derived
TwilioSmsSender

Properties
SupportsVoice Indicates that the SendVoiceAsync(string, string) call is supported
Methods
SendSmsAsync(string, string) Sends an SMS to the provided number using the underlying delivery service
SendVoiceAsync(string, string) Negotiates a callback endpoint with a voice message service to communicate an audible message to a user
The callback URL itself typically identifies/includes the content to be communicated when they arrive
Clone this wiki locally