another.im-ios/ConversationsClassic/AppCore/Actions/ChatsActions.swift

11 lines
313 B
Swift
Raw Normal View History

2024-06-19 15:15:27 +00:00
enum ChatsAction: Codable {
case chatsListUpdated(chats: [Chat])
2024-06-20 05:27:13 +00:00
case startChat(accountJid: String, participantJid: String)
2024-06-20 05:43:49 +00:00
case chatStarted(chat: Chat)
case createNewChat(accountJid: String, participantJid: String)
case chatCreated(chat: Chat)
case chatCreationFailed(reason: String)
2024-06-19 15:15:27 +00:00
}