another.im-ios/ConversationsClassic/AppCore/Actions/ConversationActions.swift
2024-08-08 00:27:47 +02:00

13 lines
380 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 sendMediaMessages(from: String, to: String, messagesIds: [String], localFilesNames: [String])
case setArchivedMessagesRequested
}