setUserPowerLevel

fun setUserPowerLevel(userId: String, powerLevel: Int?): PowerLevelsContent

Return a copy of this content with a new power level for the specified user.

Parameters

userId

the userId to alter the power level of

powerLevel

the new power level, or null to set the default value.