addConversation

abstract suspend fun addConversation(conversation: Conversation)

Adds the given conversation to the messaging service. If a conversation with the same Conversation.id exists, the call is ignored.

It is the responsibility of the caller, to make sure conversation has a universally unique Conversation.id.

Parameters

conversation

The conversation to add.