MLSMessageApiV13

internal open class MLSMessageApiV13(authenticatedNetworkClient: AuthenticatedNetworkClient) : MLSMessageApiV12

Inheritors

Constructors

Link copied to clipboard
internal constructor(authenticatedNetworkClient: AuthenticatedNetworkClient)

Functions

Link copied to clipboard
open suspend override fun sendCommitBundle(bundle: MLSMessageApi.CommitBundle): NetworkResponse<SendMLSMessageResponse>

Send an MLS commit bundle to a MLS group. The destination group is encoded into the message itself.

Link copied to clipboard
open suspend override fun sendMessage(message: ByteArray): NetworkResponse<SendMLSMessageResponse>

Send an MLS message to a MLS group. The destination group is encoded into the message itself.

Link copied to clipboard
open suspend override fun sendTargetedMessage(batch: MLSMessageApi.TargetedMessageBatch): NetworkResponse<SendMLSMessageResponse>

Send a batch of persistent targeted MLS messages. The destination group and recipients are encoded into the batch itself.

Link copied to clipboard
open suspend override fun sendTransientMessage(message: MLSMessageApi.TransientMessage): NetworkResponse<SendMLSMessageResponse>

Send a transient MLS message to a MLS group. The destination group is encoded into the message itself.

Link copied to clipboard
open suspend override fun sendTransientTargetedMessage(batch: MLSMessageApi.TargetedMessageBatch): NetworkResponse<SendMLSMessageResponse>

Send a batch of transient targeted MLS messages. The destination group and recipients are encoded into the batch itself.