deleteConversation

abstract suspend fun deleteConversation(conversationId: UUID): Int

Deletes a conversation and its entries from the local database.

This only removes the locally stored data. The conversation remains on the server and can be retrieved again via conversations or conversationsFlow.

Return

The number of rows deleted from the local database.

Parameters

conversationId

The unique identifier of the conversation to delete.