AddMembersViewState

constructor(isLoading: Boolean = true, isLoadingMore: Boolean = false, query: String = "", searchResult: List<User> = emptyList(), selectedUserIds: Set<String> = emptySet(), loadedMemberIds: Set<String> = emptySet())

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.