Paubox.API.SendResponse (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.SendResponse{data: String.t(), sourceTrackingId: String.t()}

Functions

new(responses)

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.