another.im-ios/ConversationsClassic/AppCore/Actions/SharingActions.swift
2024-07-10 16:48:18 +02:00

24 lines
487 B
Swift

import Foundation
enum SharingAction: Stateable {
case showSharing(Bool)
case shareLocation(lat: Double, lon: Double)
case shareContact(jid: String)
case shareDocuments([Data])
// case sendAttachment([ShareItem])
// case sendAttachmentDone
// case sendAttachmentError(reason: String)
}
// struct ShareItem: Stateable {
// let id: String
// let type: AttachmentType
// let data: Data
// let thumbnail: Data
// let string: String
// }