mutePatchDuration

fun mutePatchDuration(muteId: String, logReason: String, duration: Int): Int(source)

Endpoint for changing mute duration

Endpoint: /Api/Mute/{banId}/Duration

Return

the response code

Parameters

muteId

of the mute

logReason

reason for the change

duration

the new duration of the mute

Throws

inherited from CedmodException