DefaultUserLookupHandler

Default implementation for UserLookupHandler.

Parameters

localHandler

The local user lookup handler.

remoteHandler

The remote user lookup handler.

Constructors

Link copied to clipboard
constructor(chatClient: ChatClient, channelCid: String, localFilter: QueryFilter<User> = DefaultQueryFilter { it.name.ifBlank { it.id } })

Secondary constructor for DefaultUserLookupHandler.

constructor(localHandler: UserLookupHandler, remoteHandler: UserLookupHandler)

Functions

Link copied to clipboard
open suspend override fun handleUserLookup(query: String): List<User>

Performs users lookup by given query in suspend way. It's executed on background, so it can perform heavy operations.

Inherited functions