onGetRepliesPrecondition

open suspend fun onGetRepliesPrecondition(parentId: String): Result<Unit>

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.

Return

Result.Success if the precondition is met, Result.Failure otherwise.

Parameters

parentId

The id of the parent message.