ExStreamClient.Model.ReactionNewEvent (ExStreamClient v0.1.7)

View Source

Schema representing a ReactionNewEvent

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.ReactionNewEvent{
  channel_id: String.t(),
  channel_type: String.t(),
  cid: String.t(),
  created_at: float(),
  message: ExStreamClient.Model.Message.t() | nil,
  reaction: ExStreamClient.Model.Reaction.t() | nil,
  team: String.t() | nil,
  thread_participants: [ExStreamClient.Model.User.t()] | nil,
  type: String.t(),
  user: ExStreamClient.Model.User.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()