onDeleteMessageForMePrecondition

open suspend fun onDeleteMessageForMePrecondition(messageId: String): Result<Unit>

Runs precondition check for ChatClient.deleteMessageForMe.

The request proceeds only if the method returns Result.Success; otherwise, it is aborted if it returns Result.Failure.

Return

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

Parameters

messageId

The message id to be deleted.