Karta.Messaging.SendRequest (Karta v1.0.0)

What an application asked for: this text (or media) to this address, try these channels in this order. idempotency_key is the application's: the same key with the same request returns the same answer, with another request it is refused. step is the index in channels of the channel being tried; state: queued, waiting, sending, done, failed, unknown.

Summary

Types

t()

@type t() :: %Karta.Messaging.SendRequest{
  __meta__: term(),
  actor: term(),
  body: term(),
  category: term(),
  channels: term(),
  chosen_channel: term(),
  consent: term(),
  id: term(),
  idempotency_key: term(),
  inserted_at: term(),
  kind: term(),
  media_ref: term(),
  metadata: term(),
  policy: term(),
  reference: term(),
  request_hash: term(),
  sender: term(),
  server: term(),
  server_id: term(),
  state: term(),
  step: term(),
  to_address: term(),
  updated_at: term(),
  wait_until: term()
}