ExStreamClient.Model.ReactionUpdatedEvent (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a ReactionUpdatedEvent

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.ReactionUpdatedEvent{
  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(),
  message_id: String.t(),
  reaction: ExStreamClient.Model.ReactionResponse.t() | nil,
  received_at: (DateTime.t() | integer() | String.t()) | nil,
  team: String.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()