ExStreamClient.Model.UserUnbannedEvent (ExStreamClient v0.1.7)

View Source

Schema representing a UserUnbannedEvent

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.UserUnbannedEvent{
  channel_id: String.t(),
  channel_type: String.t(),
  cid: String.t(),
  created_at: float(),
  shadow: boolean(),
  team: String.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()