Glific v0.3.1 Glific.Messages.MessageMedia View Source
Message media are mapped with a message
Link to this section Summary
Functions
Standard changeset pattern we use for all data types
Link to this section Types
Specs
t() :: %Glific.Messages.MessageMedia{
__meta__: Ecto.Schema.Metadata.t(),
caption: String.t() | nil,
id: non_neg_integer() | nil,
inserted_at: :utc_datetime | nil,
provider_media_id: String.t() | nil,
source_url: String.t() | nil,
thumbnail: String.t() | nil,
updated_at: :utc_datetime | nil,
url: String.t() | nil
}
Link to this section Functions
Specs
changeset(t(), map()) :: Ecto.Changeset.t()
Standard changeset pattern we use for all data types