ExStreamClient.Model.MessageReadEvent (ExStreamClient v0.1.11)

View Source

Schema representing a MessageReadEvent

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.MessageReadEvent{
  channel_id: String.t(),
  channel_last_message_at: (DateTime.t() | integer() | String.t()) | nil,
  channel_type: String.t(),
  cid: String.t(),
  created_at: DateTime.t() | integer() | String.t(),
  last_read_message_id: String.t() | nil,
  team: String.t() | nil,
  thread: ExStreamClient.Model.ThreadResponse.t() | nil,
  type: String.t(),
  user: ExStreamClient.Model.UserResponseCommonFields.t() | nil
}

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()