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

lib/ex_stream_client/model/reaction_deleted_event.ex

defmodule ExStreamClient.Model.ReactionDeletedEvent do
@moduledoc "Schema representing a ReactionDeletedEvent"
use ExStreamClient.JSON
use ExStreamClient.TypeInterner
@enforce_keys [:channel, :created_at, :custom, :type]
defstruct [
:channel,
:channel_custom,
:channel_id,
:channel_member_count,
:channel_message_count,
:channel_type,
:cid,
:created_at,
:custom,
:message,
:message_id,
:reaction,
:received_at,
:team,
:thread_participants,
:type,
:user
]
@nested_components channel: ExStreamClient.Model.ChannelResponse,
created_at: :datetime,
message: ExStreamClient.Model.MessageResponse,
reaction: ExStreamClient.Model.ReactionResponse,
received_at: :datetime,
thread_participants: ExStreamClient.Model.UserResponseCommonFields,
user: ExStreamClient.Model.UserResponseCommonFields
def nested_components do
@nested_components
end
@type t :: %__MODULE__{
channel: ExStreamClient.Model.ChannelResponse.t(),
channel_custom: %{optional(String.t()) => any()} | nil,
channel_id: String.t() | nil,
channel_member_count: integer() | nil,
channel_message_count: integer() | nil,
channel_type: String.t() | nil,
cid: String.t() | nil,
created_at: DateTime.t() | integer() | String.t(),
custom: %{optional(String.t()) => any()},
message: ExStreamClient.Model.MessageResponse.t() | nil,
message_id: String.t() | nil,
reaction: ExStreamClient.Model.ReactionResponse.t() | nil,
received_at: (DateTime.t() | integer() | String.t()) | nil,
team: String.t() | nil,
thread_participants: [ExStreamClient.Model.UserResponseCommonFields.t()] | nil,
type: String.t(),
user: ExStreamClient.Model.UserResponseCommonFields.t() | nil
}
end