another.im-ios/ConversationsClassic/AppCore/Actions/FileActions.swift
2024-07-13 03:29:46 +02:00

11 lines
371 B
Swift

import Foundation
enum FileAction: Stateable {
case downloadAttachmentFile(id: String, remotePath: URL)
case attachmentFileDownloaded(id: String, localUrl: URL)
case downloadingAttachmentFileFailed(id: String, reason: String)
case createAttachmentThumbnail(id: String, localUrl: URL)
case attachmentThumbnailCreated(id: String, thumbnailUrl: URL)
}