13 lines
380 B
Swift
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
|
|
}
|