14 lines
384 B
Swift
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)
|
|
}
|