removeMember

fun Channel.removeMember(memberUserId: String?): Channel

Removes member from the Channel.members and aligns Channel.memberCount.

Parameters

currentUserId

User id of the currently logged in user.

memberUserId

User id of the removed member.