ExStreamClient.Model.ChannelDataUpdate (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a ChannelDataUpdate

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.ChannelDataUpdate{
  auto_translation_enabled: boolean() | nil,
  auto_translation_language: String.t() | nil,
  config_overrides: ExStreamClient.Model.ChannelConfig.t() | nil,
  custom: %{optional(String.t()) => any()} | nil,
  disabled: boolean() | nil,
  frozen: boolean() | nil,
  team: String.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()