Unicom360.SMS.Result (Unicom360 v0.1.0)

Copy Markdown View Source

One recipient of an SMS send (canonical name SmsResult).

  • message_id - always a string; matches the delivery report's.
  • status - "ACKNOWLEDGED", "Invalid mobile number", or another value a later gateway sends (statuses are open).
  • mobile_number - the number as the gateway normalised it.
  • raw, extra - the JSON object, and the members this version does not model.

Summary

Types

t()

@type t() :: %Unicom360.SMS.Result{
  extra: map(),
  message_id: String.t() | nil,
  mobile_number: String.t() | nil,
  raw: map(),
  status: String.t() | nil
}