Unicom360.WhatsApp.SessionSendResult (Unicom360 v0.1.0)

Copy Markdown View Source

The result of Unicom360.WhatsApp.send_session/3 (canonical name SessionSendResult).

  • api_reference, message - from the envelope.
  • message_id - the message's id (a string); pass it to Unicom360.WhatsApp.status/3, or as a later message's :reply_to.
  • to, user_reference_id, status ("ACKNOWLEDGED"), category ("SERVICE").
  • raw, extra - the JSON object, and the members this version does not model.

Summary

Types

t()

@type t() :: %Unicom360.WhatsApp.SessionSendResult{
  api_reference: String.t() | nil,
  category: String.t() | nil,
  extra: map(),
  message: String.t() | nil,
  message_id: String.t() | nil,
  raw: map(),
  status: String.t() | nil,
  to: String.t() | nil,
  user_reference_id: String.t() | nil
}