processWelcomeMessage

suspend fun processWelcomeMessage(welcome: Welcome, configuration: CustomConfiguration = defaultGroupConfiguration): WelcomeBundle

Ingest a TLS-serialized MLS welcome message to join an existing MLS group.

Important: you have to catch the error OrphanWelcome, ignore it and then try to join this group with an external commit.

Return

The conversation ID of the newly joined group. You can use the same ID to decrypt/encrypt messages

Parameters

welcome
  • TLS-serialized MLS Welcome message

configuration
  • configuration of the MLS group