isOperator

fun isOperator(user: User?): Boolean

Checks if the given User is an operator of this channel.

Return

true if the User is an operator.

Parameters

user

User to check.


fun isOperator(userId: String): Boolean

Checks if the given User is an operator of this channel.

Return

true if the User is an operator.

Parameters

userId

User ID to check.