GetMessageDraftUseCase

Get message draft use case

Return

MessageDraft or null if draft doesn't exist

Parameters

conversationId

the id of the conversation to get message draft

Inheritors

Functions

Link copied to clipboard
abstract suspend operator fun invoke(conversationId: ConversationId): MessageDraft?
Link copied to clipboard
abstract suspend fun plainTextRevision(conversationId: ConversationId, text: String): Long?

Captures the current plain draft for consumption after durable message acceptance.