invoke

suspend operator fun invoke(conversationId: <Error class: unknown class>, messageId: String, deleteForEveryone: Boolean): MessageOperationResult

Operation to delete a message from the conversation

Return

MessageOperationResult indicating success or failure.

Parameters

conversationId

the id of the conversation the message belongs to

messageId

the id of the message to delete

deleteForEveryone

either delete the message for everyone or just for the current user