ComposerSending
internal class ComposerSending(messages: Lazy<MessageScope>, syncStateObserver: SyncStateObserver, cells: Lazy<CellsScope>, conversations: ConversationRepository) : ShareOutboxSending
Stores handed-off items with the composer's use cases. A stored message is the app's, sent or not.
Constructors
Link copied to clipboard
constructor(messages: Lazy<MessageScope>, syncStateObserver: SyncStateObserver, cells: Lazy<CellsScope>, conversations: ConversationRepository)
Functions
Link copied to clipboard
Link copied to clipboard
open suspend override fun cells(conversationId: ConversationId, files: List<ShareOutboxFile>, text: String, messageId: String): String?
Link copied to clipboard
Link copied to clipboard
open suspend override fun file(conversationId: ConversationId, file: ShareOutboxFile, messageId: String): String?
Link copied to clipboard
open suspend override fun prepareCells(conversationId: ConversationId, files: List<ShareOutboxFile>, progress: (Long, Long) -> Unit): Either<String, List<CellAssetContent>>
Link copied to clipboard
open suspend override fun storeCells(conversationId: ConversationId, attachments: List<CellAssetContent>, text: String, messageId: String): String?
Link copied to clipboard
open suspend override fun text(conversationId: ConversationId, text: String, messageId: String): String?