ExStreamClient.Model.ChatPreferences (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a ChatPreferences

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.ChatPreferences{
  channel_mentions: String.t() | nil,
  default_preference: String.t() | nil,
  direct_mentions: String.t() | nil,
  distinct_channel_messages: String.t() | nil,
  group_mentions: String.t() | nil,
  here_mentions: String.t() | nil,
  role_mentions: String.t() | nil,
  thread_replies: 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()