QueryChannelsListener

Listener of ChatClient.queryChannels requests.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun onQueryChannelsPrecondition(request: QueryChannelsRequest): Result<Unit>

Run precondition for the request. If it returns Result.Success then the request is run otherwise it returns Result.Failure and no request is made.

Link copied to clipboard
abstract suspend fun onQueryChannelsRequest(request: QueryChannelsRequest)

Runs side effect before the request is launched.

Link copied to clipboard
abstract suspend fun onQueryChannelsResult(result: Result<List<Channel>>, request: QueryChannelsRequest)

Runs this function on the Result of this QueryChannelsRequest.