Paubox.API.MessageReceipt (paubox v1.1.0)

Copy Markdown View Source

This is a wrapper struct around the response from the Paubox API when sending messages.

Summary

Functions

Create a new SendResponse struct from a map.

Types

t()

@type t() :: %Paubox.API.MessageReceipt{
  data: String.t(),
  sourceTrackingId: String.t()
}

Functions

id(receipt)

message_deliveries(receipt)

new(map)

Create a new SendResponse struct from a map.

If you pass in a List it will create a list of SendResponse structs. This is useful when sending messages using the bulk API.