Spatio.Model.AttachmentInput (spatio_sdk v0.0.2)

Inline attachment payload for send, reply, and draft requests. data is the raw bytes base64-encoded by the JSON encoder.

Summary

Types

t()

@type t() :: %Spatio.Model.AttachmentInput{
  contentType: String.t(),
  data: binary(),
  filename: String.t(),
  size: integer() | nil
}

Functions

decode(value)