Packages

A client for [Stream](https://getstream.io) REST APIs in Elixir - auto generated from their [OpenAPI specification](https://github.com/GetStream/protocol).

Current section

Files

Jump to
ex_stream_client lib ex_stream_client model unread_counts_thread.ex
Raw

lib/ex_stream_client/model/unread_counts_thread.ex

defmodule ExStreamClient.Model.UnreadCountsThread do
@moduledoc "Schema representing a UnreadCountsThread"
use ExStreamClient.JSON
use ExStreamClient.TypeInterner
@enforce_keys [:last_read, :last_read_message_id, :parent_message_id, :unread_count]
defstruct [:last_read, :last_read_message_id, :parent_message_id, :unread_count]
@nested_components []
def nested_components do
@nested_components
end
@type t :: %__MODULE__{
last_read: float(),
last_read_message_id: String.t(),
parent_message_id: String.t(),
unread_count: integer()
}
end