createConversation

suspend fun createConversation(id: MLSGroupId, ciphersuite: Ciphersuite = Ciphersuite.MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519, creatorCredentialType: CredentialType = CredentialType.Basic, externalSenders: List<ExternalSenderKey> = emptyList())

Creates a new conversation with the current client being the sole member. You will want to use addMember afterward to add clients to this conversation.

Parameters

id

conversation identifier

ciphersuite

of the conversation. A credential for the given ciphersuite must already have been created

creatorCredentialType

kind of credential the creator wants to create the group with

externalSenders

keys fetched from backend for validating external remove proposals