updateMembershipBanned

fun Channel.updateMembershipBanned(memberUserId: String, banned: Boolean): Channel

Sets Channel.membership.banned to banned if memberUserId equals to membership.user.id.

Parameters

memberUserId

Member user id.

banned

Shows whether a user is banned or not in this channel.