getOrCreateConversationId

abstract suspend fun getOrCreateConversationId(    conversationContacts: Set<ConversationContact>,     messageType: MessageType,     source: ConversationSource?): Uid<Conversation>?

Returns the ID of the conversation between the user and conversationContacts that contains messages of type messageType and originates from the source. If the conversation does not exist, it tries to create a new one and returns its ID. If there is no messaging provider available for the messageType, or no conversation was available and the service provider does not support creating a new conversation, it returns null.

Note:conversationContacts needs to be a perfect match for an existing conversation to be returned.

Parameters

conversationContacts

The set of contacts to search for.

messageType

The message type for the conversation.

source

The source of the conversation.