sendgrid v2.0.0 SendGrid.Contacts.Recipient View Source

Struct to help with creating a recipient.

Link to this section Summary

Functions

Builds a Repient to be used in SendGrid.Contacts.Recipents

Link to this section Types

Link to this type t() View Source
t() :: %SendGrid.Contacts.Recipient{
  custom_fields: nil | map(),
  email: String.t()
}

Link to this section Functions

Link to this function build(email, custom_fields \\ %{}) View Source
build(String.t(), map()) :: t()

Builds a Repient to be used in SendGrid.Contacts.Recipents.