mute Post Issue
fun mutePostIssue(userId: String, reason: String, duration: Int, appealable: Boolean, banlists: List<Int>, muteType: MuteType): JsonObject?(source)
Endpoint for issuing mutes
Endpoint: /Api/Mute/Issue
Return
the response body as a JsonObject
Parameters
user Id
id of the user
reason
reason for the mute
duration
duration of the mute in seconds
appealable
should the mute be appealable?
banlists
list of banlists to use
mute Type
which type of mute to choose
Throws
inherited from CedmodException