ExStreamClient.Model.MessageHistoryEntryResponse (ExStreamClient v0.1.7)

View Source

Schema representing a MessageHistoryEntryResponse

Summary

Functions

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

Types

t()

@type t() :: %ExStreamClient.Model.MessageHistoryEntryResponse{
  attachments: [ExStreamClient.Model.Attachment.t()],
  custom: %{optional(String.t()) => any()},
  is_deleted: boolean(),
  message_id: String.t(),
  message_updated_at: float(),
  message_updated_by_id: String.t(),
  text: String.t()
}

Functions

decode(map)

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

nested_components()