Inttegro.Chimes.InlineRecipientInputVariant2 (inttegro v0.2.0)

Copy Markdown View Source

Parameters for Inline Recipient Input Variant2 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 inline recipient input variant2 request.

Functions

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

Types

t()

@type t() :: %Inttegro.Chimes.InlineRecipientInputVariant2{
  email: Inttegro.Chimes.InlineRecipientInputVariant2Email.t(),
  name: String.t() | nil,
  type: Inttegro.Chimes.RecipientType.t()
}

A validated inline recipient input variant2 request.

Functions

new!(attrs \\ %{})

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

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