SearchUsersUseCase

class SearchUsersUseCase(searchUserRepository: SearchUserRepository, selfUserId: <Error class: unknown class>, maxRemoteSearchResultCount: Int)

Use case for searching users.

Parameters

searchQuery

The search query.

excludingMembersOfConversation

The conversation to exclude its members from the search.

customDomain

The custom domain to search in if null the search will be on the self user domain.

Constructors

Link copied to clipboard
internal constructor(searchUserRepository: SearchUserRepository, selfUserId: <Error class: unknown class>, maxRemoteSearchResultCount: Int)

Functions

Link copied to clipboard
suspend operator fun invoke(searchQuery: String, excludingMembersOfConversation: <Error class: unknown class>?, customDomain: String?): SearchUserResult