ExStreamClient.Model.CallActionOptions (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a CallActionOptions

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.CallActionOptions{
  duration: integer() | nil,
  flag_reason: String.t() | nil,
  kick_reason: String.t() | nil,
  mute_audio: boolean() | nil,
  mute_video: boolean() | nil,
  reason: String.t() | nil,
  warning_text: 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()