insertConversation

abstract suspend fun insertConversation(conversation: Conversation)

Inserts a new conversation into the database.

If a conversation with the same ID already exists, it will be replaced.

Parameters

conversation

The Conversation to insert.