10 lines
292 B
Swift
10 lines
292 B
Swift
enum ConversationAction: Codable {
|
|
case makeConversationActive(chat: Chat, roster: Roster?)
|
|
|
|
case messagesUpdated(messages: [Message])
|
|
case attachmentsUpdated(attachments: [Attachment])
|
|
|
|
case sendMessage(from: String, to: String, body: String)
|
|
case setReplyText(String)
|
|
}
|