ThreadQueryListener
Functions
Link copied to clipboard
open suspend fun onGetRepliesMorePrecondition(messageId: String, firstId: String, limit: Int): Result<Unit>
Runs precondition check for ChatClient.getRepliesMore. If it returns Result.Success then the request is run otherwise it returns Result.Failure and no request is made.
Link copied to clipboard
Runs side effect before the request is launched.
Link copied to clipboard
abstract suspend fun onGetRepliesMoreResult(result: Result<List<Message>>, messageId: String, firstId: String, limit: Int)
Runs this function on the result of the ChatClient.getRepliesMore request.
Link copied to clipboard
Runs precondition check for ChatClient.getReplies. If it returns Result.Success then the request is run otherwise it returns Result.Failure and no request is made.
Link copied to clipboard
Runs side effect before the request is launched.
Link copied to clipboard
abstract suspend fun onGetRepliesResult(result: Result<List<Message>>, messageId: String, limit: Int)
Runs this function on the result of the ChatClient.getReplies request.