sms_blitz v0.1.0 SmsBlitz.Adapter behaviour

Link to this section Summary

Types

Parameters required in order to send an SMS

Standardised Response for SMS sending requests

Link to this section Types

Link to this type sms_params()
sms_params() :: [from: String.t(), to: String.t(), message: String.t()]

Parameters required in order to send an SMS

Link to this type sms_result()
sms_result() :: %{id: String.t(), result_string: String.t(), status_code: number()}

Standardised Response for SMS sending requests

Link to this section Callbacks

Link to this callback authenticate(any)
authenticate(any()) :: any()
Link to this callback send_sms(any, sms_params)
send_sms(any(), sms_params()) :: sms_result() | [sms_result()]