ExStreamClient.Model.BanRequest (ExStreamClient v0.1.7)
View SourceSchema representing a BanRequest
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
@type t() :: %ExStreamClient.Model.BanRequest{ banned_by: ExStreamClient.Model.UserRequest.t() | nil, banned_by_id: String.t() | nil, channel_cid: String.t() | nil, delete_messages: (:hard | :pruning | :soft) | nil, ip_ban: boolean() | nil, reason: String.t() | nil, shadow: boolean() | nil, target_user_id: String.t(), timeout: integer() | nil }