getUsersExcludingCurrent

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

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

Return

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

Parameters

currentUser

The currently logged in user.