ExStreamClient.Model.RuleBuilderAction (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a RuleBuilderAction

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.RuleBuilderAction{
  ban_options: ExStreamClient.Model.BanOptions.t() | nil,
  call_options: ExStreamClient.Model.CallActionOptions.t() | nil,
  flag_user_options: ExStreamClient.Model.FlagUserOptions.t() | nil,
  skip_inbox: boolean() | nil,
  type:
    (:webhook_only
     | :call_warning
     | :warning
     | :kick_user
     | :end_call
     | :call_blur
     | :blur
     | :mute_audio
     | :mute_video
     | :bounce_remove_content
     | :bounce_content
     | :bounce_flag_content
     | :shadow_content
     | :block_content
     | :flag_content
     | :flag_user
     | :ban_user)
    | 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()