Attachment Change Event
Sealed class representing different types of attachment change events that can be received via real-time messaging and delta sync.
Inheritors
Types
Link copied to clipboard
data class AttachmentsUpdated(val updatedAttachments: List<ZyncAttachment>, val deletedAttachmentUids: List<String>) : AttachmentChangeEvent, ChangeEvent<ZyncAttachment, String>
Event triggered when attachments are updated via delta sync. Contains a list of attachments that were found during background sync. Clients should decide whether each attachment is new or updated based on their local state.
Link copied to clipboard
data class AttachmentUploadStatusChanged(val pendingUpload: ZyncPendingUpload) : AttachmentChangeEvent
Event triggered when an attachment's upload status changes. Contains the complete upload information including status, progress, and error details. Clients can check pendingUpload.status to determine the current state.