View Source Glific.Messages.MessageConversation (Glific v5.1.6)

Message conversation 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

@type t() :: %Glific.Messages.MessageConversation{
  __meta__: Ecto.Schema.Metadata.t(),
  conversation_id: String.t() | nil,
  deduction_type: String.t() | nil,
  id: non_neg_integer() | nil,
  inserted_at: term(),
  is_billable: boolean() | false,
  message: Glific.Messages.Message.t() | Ecto.Association.NotLoaded.t() | nil,
  message_id: non_neg_integer() | nil,
  organization:
    Glific.Partners.Organization.t() | Ecto.Association.NotLoaded.t() | nil,
  organization_id: non_neg_integer() | nil,
  payload: map() | nil,
  updated_at: term()
}

Link to this section Functions

Link to this function

changeset(message_conversation, attrs)

View Source
@spec changeset(any(), map()) :: Ecto.Changeset.t()

Standard changeset pattern we use for all data types