Inttegro.Chimes.SavedCustomerRecipientInput (inttegro v0.2.0)

Copy Markdown View Source

Parameters for Saved Customer Recipient Input in the Chimes API.

Build this struct with new!/1 and pass it to the corresponding function on Inttegro.Chimes. Required keys are enforced immediately; optional values left as nil are omitted from the request sent to Inttegro.

Sends and schedules transactional messages.

Chimes deliver email or SMS content to inline recipients, saved customers, or template-defined recipients. A returned chime records rendering, safety, and transmission results; delivery may continue asynchronously after the API call succeeds.

Summary

Types

t()

A validated saved customer recipient input request.

Functions

Builds a Inttegro.Chimes.SavedCustomerRecipientInput and raises KeyError when a required field is missing.

Types

t()

@type t() :: %Inttegro.Chimes.SavedCustomerRecipientInput{
  customer_id: String.t(),
  transport: Inttegro.Chimes.Transport.t()
}

A validated saved customer recipient input request.

Functions

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

Builds a Inttegro.Chimes.SavedCustomerRecipientInput and raises KeyError when a required field is missing.