# `ExStreamClient.Model.BanOptions`
[🔗](https://github.com/Tango-Tango/ex_stream_client/blob/main/lib/ex_stream_client/model/ban_options.ex#L1)

Schema representing a BanOptions

# `t`

```elixir
@type t() :: %ExStreamClient.Model.BanOptions{
  delete_messages: (:hard | :pruning | :soft) | nil,
  duration: integer() | nil,
  ip_ban: boolean() | nil,
  reason: String.t() | nil,
  shadow_ban: boolean() | nil
}
```

# `decode`

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

# `nested_components`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
