DeleteMessage
data class DeleteMessage(val message: Message, val hard: Boolean = false) : MessageListViewModel.Event
When the user deletes a message.
Parameters
message
The message to be deleted.
hard
Determines whether the message will be soft or hard deleted.
Soft delete - Deletes the message on the client side but it remains available via server-side export functions. Hard delete - message is deleted everywhere.