SendMessageOutcome

sealed interface SendMessageOutcome(source)

What SendMessageUseCase did with a message.

Inheritors

Types

Link copied to clipboard
data class Queued(val packetId: Int) : SendMessageOutcome

Saved to history and queued for delivery under mesh packet id packetId.

Link copied to clipboard

Nothing was saved or sent: the conversation is retired (its channel is no longer on the radio) or the row is gone.

Link copied to clipboard

Nothing was saved or sent: the connected node is in transparent mode and drops whatever a client sends to another node, so the send is refused with that reason instead of failing later without one.