Current section
Files
Jump to
Current section
Files
lib/podium/message.ex
defmodule Podium.Message do
@moduledoc """
Represents a message in the Podium API.
"""
alias Podium.Contact
@type t :: %__MODULE__{
contact: Contact.t(),
body: String.t(),
location_uid: String.t()
}
@derive Jason.Encoder
defstruct contact: nil,
body: nil,
location_uid: nil
end