sendPendingMessage

abstract suspend fun sendPendingMessage(conversationId: <Error class: unknown class>, messageUuid: String): Either<CoreFailure, Unit>

Given the ConversationId and UUID of a message that was previously persisted locally, attempts to send the message to suitable recipients.

Will handle all the needed encryption and possible set-up steps and retries depending on the ConversationOptions.Protocol.

In case of connectivity failure, will handle the error by updating the state of the persisted message and, if needed, also scheduling a retry in the future using a MessageSendingScheduler.

Parameters

conversationId
messageUuid