ExStreamClient.Model.TranslationSettings (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a TranslationSettings

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.TranslationSettings{
  enabled: boolean(),
  languages: [
    :uk
    | :no
    | :ms
    | :ko
    | :hr
    | :hi
    | :he
    | :tl
    | :ar
    | :zh
    | :ro
    | :hu
    | :tr
    | :th
    | :ta
    | :sv
    | :ru
    | :ja
    | :id
    | :fi
    | :el
    | :da
    | :cs
    | :ca
    | :pl
    | :pt
    | :nl
    | :it
    | :de
    | :es
    | :fr
    | :en
  ]
}

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()