AddMembersViewState
data class AddMembersViewState(val isLoading: Boolean = true, val isLoadingMore: Boolean = false, val query: String = "", val searchResult: List<User> = emptyList(), val selectedUserIds: Set<String> = emptySet(), val loadedMemberIds: Set<String> = emptySet())
Represents the state of the "Add Members" view.
Parameters
isLoading
Whether the view is currently loading the initial search results.
isLoadingMore
Whether the view is currently loading additional (paginated) results.
query
The current search query.
searchResult
The list of users matching the search query.
selectedUserIds
The set of IDs of users selected to be added as members.
loadedMemberIds
The set of IDs of users who are already members of the channel.