another.im-ios/ConversationsClassic/AppCore/Actions/ConversationActions.swift
2024-07-09 14:37:51 +02:00

14 lines
383 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(Attachment)
case sendAttachmentDone
case sendAttachmentError(reason: String)
}