store

internal suspend fun store(messageId: String, conversationId: ConversationId, text: String): Boolean

Stores text as messageId in the caller's coroutine and returns whether it was stored; only sending goes on in the session's scope. Cancelled before the message is stored, it stores and sends nothing. A caller that may repeat itself checks for the message first (ADR 13).