ExStreamClient.Model.UnreadCountsResponse (ExStreamClient v0.1.7)

View Source

Schema representing a UnreadCountsResponse

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.UnreadCountsResponse{
  channel_type: [ExStreamClient.Model.UnreadCountsChannelType.t()],
  channels: [ExStreamClient.Model.UnreadCountsChannel.t()],
  threads: [ExStreamClient.Model.UnreadCountsThread.t()],
  total_unread_count: integer(),
  total_unread_threads_count: integer()
}

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