ThreadQueryListener
Functions
Link copied to clipboard
Runs side effect before the request is launched.
Link copied to clipboard
abstract suspend fun onGetNewerRepliesResult(result: Result<List<Message>>, parentId: String, limit: Int, lastId: String?)
Runs this function on the result of the ChatClient.getNewerReplies request.
Link copied to clipboard
Runs side effect before the request is launched.
Link copied to clipboard
abstract suspend fun onGetRepliesMoreResult(result: Result<List<Message>>, parentId: 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, ChatClient.getNewerReplies and 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 onGetRepliesResult(result: Result<List<Message>>, parentId: String, limit: Int)
Runs this function on the result of the ChatClient.getReplies request.