lib/spatio/model/dm_forward_request.ex

# 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.DmForwardRequest do
  @moduledoc """
  Forward to either a DM (`toDmId`) or a channel (`toChannelId`); exactly one required.
  """

  @derive JSON.Encoder
  defstruct [
    :toDmId,
    :toChannelId,
    :accountId
  ]

  @type t :: %__MODULE__{
    :toDmId => String.t | nil,
    :toChannelId => String.t | nil,
    :accountId => String.t | nil
  }

  def decode(value) do
    value
  end
end