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 channel_hidden_event.ex
Raw

lib/ex_stream_client/model/channel_hidden_event.ex

defmodule ExStreamClient.Model.ChannelHiddenEvent do
@moduledoc "Schema representing a ChannelHiddenEvent"
use ExStreamClient.JSON
use ExStreamClient.TypeInterner
@enforce_keys [
:channel_id,
:channel_member_count,
:channel_type,
:cid,
:clear_history,
:created_at,
:type
]
defstruct [
:channel,
:channel_id,
:channel_member_count,
:channel_type,
:cid,
:clear_history,
:created_at,
:type,
:user
]
@nested_components channel: ExStreamClient.Model.ChannelResponse,
user: ExStreamClient.Model.User
def nested_components do
@nested_components
end
@type t :: %__MODULE__{
channel: ExStreamClient.Model.ChannelResponse.t() | nil,
channel_id: String.t(),
channel_member_count: integer(),
channel_type: String.t(),
cid: String.t(),
clear_history: boolean(),
created_at: float(),
type: String.t(),
user: ExStreamClient.Model.User.t() | nil
}
end