Noizu.Comms.Receipt (noizu_comms v0.1.0)

Copy Markdown View Source

Confirmation of one delivered message.

  • :channel — adapter id (:discord, :slack, :telegram, :whatsapp, :test).
  • :target — the resolved %Noizu.Comms.Target{}.
  • :message_id — platform message id when the channel returns one.
  • :raw — trimmed response body; never carries tokens or auth headers.

Summary

Types

t()

@type t() :: %Noizu.Comms.Receipt{
  channel: atom(),
  message_id: String.t() | nil,
  raw: map(),
  sent_at: DateTime.t() | nil,
  target: Noizu.Comms.Target.t(),
  thread_id: String.t() | nil
}