ExStreamClient.Model.FeedsPreferences (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a FeedsPreferences

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.FeedsPreferences{
  comment: (:none | :all) | nil,
  comment_mention: (:none | :all) | nil,
  comment_reaction: (:none | :all) | nil,
  comment_reply: (:none | :all) | nil,
  custom_activity_types: %{optional(String.t()) => String.t()} | nil,
  follow: (:none | :all) | nil,
  mention: (:none | :all) | nil,
  reaction: (:none | :all) | 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()