Lettermint.Types.MessageListData (Lettermint v2.1.0)

Copy Markdown View Source

schema:MessageListData.

Fields

  • id (required)
  • type (required)
  • status (required)
  • delivery_mode (required)
  • sandbox_result (required, nullable)
  • scheduled_at (required, nullable)
  • spam_score (optional, nullable): Overall spam assessment score. Scores below 5 are clean, 5 through 10 indicate potential spam, scores above 10 and below 15 are likely spam, and 15 or higher is definite spam. Null means no assessment is available. Available on plans with Spam Insights
  • from_email (required)
  • from_name (required, nullable)
  • subject (required, nullable)
  • to (required, nullable)
  • cc (required, nullable)
  • bcc (required, nullable)
  • reply_to (required, nullable)
  • tag (required, nullable)
  • tags (required)
  • status_changed_at (required, nullable)
  • created_at (required)

Absent fields are :unset; nil is JSON null. extra holds response fields that this version of the SDK does not know.

Summary

Types

t()

@type t() :: %Lettermint.Types.MessageListData{
  bcc: [Lettermint.Types.MessageRecipientData.t()] | nil,
  cc: [Lettermint.Types.MessageRecipientData.t()] | nil,
  created_at: String.t(),
  delivery_mode: Lettermint.Types.DeliveryMode.t(),
  extra: %{optional(String.t()) => term()},
  from_email: String.t(),
  from_name: String.t() | nil,
  id: String.t(),
  reply_to: [String.t()] | nil,
  sandbox_result: Lettermint.Types.SandboxResult.t() | nil,
  scheduled_at: String.t() | nil,
  spam_score: number() | nil | :unset,
  status: Lettermint.Types.MessageStatus.t(),
  status_changed_at: String.t() | nil,
  subject: String.t() | nil,
  tag: String.t() | nil,
  tags: [Lettermint.Types.MessageTag.t()],
  to: [Lettermint.Types.MessageRecipientData.t()] | nil,
  type: Lettermint.Types.MessageType.t()
}