another.im-ios/ConversationsClassic/AppCore/Actions/ConversationActions.swift
2024-07-10 15:00:54 +02:00

14 lines
384 B
Swift

enum ConversationAction: Codable {
case makeConversationActive(chat: Chat, roster: Roster?)
case messagesUpdated(messages: [Message])
case sendMessage(from: String, to: String, body: String)
case setReplyText(String)
case showAttachmentPicker(Bool)
case sendAttachment([ShareItem])
case sendAttachmentDone
case sendAttachmentError(reason: String)
}