CellFileDao
Functions
Link copied to clipboard
Link copied to clipboard
Deletes the file's row, unless a message refers to it as an attachment: deleting it would remove the attachment from the message, so only its local copy and offline access are cleared.
Link copied to clipboard
abstract suspend fun deleteUnderFolder(folderPath: String, attachmentStatus: String): List<CellFileLocalPath>
deleteStandalone for every file stored under the folder at folderPath, at any depth, matched by the remote path they were saved with. The attachments among them are also set to attachmentStatus.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun observeOfflineFilesByConversationId(conversationId: String): Flow<List<CellFileEntity>>
Link copied to clipboard
Link copied to clipboard