MessageUnpackResult

internal sealed interface MessageUnpackResult

Result of passing an Event through MLSMessageUnpacker or ProteusMessageUnpacker.

Inheritors

Types

Link copied to clipboard
data class ApplicationMessage(val conversationId: ConversationId, val instant: Instant, val senderUserId: UserId, val senderClientId: ClientId, val content: ProtoContent.Readable) : MessageUnpackResult

The processed Event was successfully processed and resulted in a ApplicationMessage. This message should be handled according to its content by the caller.

Link copied to clipboard

The Event was successfully processed by the unpacker, and didn't result in any ApplicationMessage, only protocol-specific signaling/handshake.