ExStreamClient.Model.ModerationPayload (ExStreamClient v0.1.7)

View Source

Schema representing a ModerationPayload

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.ModerationPayload{
  custom: %{optional(String.t()) => any()} | nil,
  images: [String.t()] | nil,
  texts: [String.t()] | nil,
  videos: [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()