// // Copyright 2025 Element Creations Ltd. // Copyright 2023-2025 New Vector Ltd. // // SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial. // Please see LICENSE files in the repository root for full details. // import Foundation import UniformTypeIdentifiers nonisolated struct FileRoomTimelineItemContent: Hashable { let filename: String var caption: String? var formattedCaption: AttributedString? /// The original textual representation of the formatted caption directly from the event (usually HTML code) var formattedCaptionHTMLString: String? let source: MediaSourceProxy? let fileSize: UInt? let thumbnailSource: MediaSourceProxy? let contentType: UTType? }