# NOTE: This file is auto generated by OpenAPI Generator 7.22.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Spatio.Model.AttachmentInput do
@moduledoc """
Inline attachment payload for `send`, `reply`, and draft requests. `data` is the raw bytes base64-encoded by the JSON encoder.
"""
@derive JSON.Encoder
defstruct [
:filename,
:contentType,
:data,
:size
]
@type t :: %__MODULE__{
:filename => String.t,
:contentType => String.t,
:data => binary(),
:size => integer() | nil
}
def decode(value) do
value
end
end