getMembersExcludingCurrent

fun Channel.getMembersExcludingCurrent(currentUser: User? = ChatClient.instance().getCurrentUser()): List<Member>

Returns a list of members of the channel excluding the currently logged in user.

Return

The list of members in the channel without the current user.

Parameters

currentUser

The currently logged in user.