another.im-ios/ConversationsClassic/AppCore/Actions/ChatsActions.swift
2024-06-20 07:43:49 +02:00

11 lines
313 B
Swift

enum ChatsAction: Codable {
case chatsListUpdated(chats: [Chat])
case startChat(accountJid: String, participantJid: String)
case chatStarted(chat: Chat)
case createNewChat(accountJid: String, participantJid: String)
case chatCreated(chat: Chat)
case chatCreationFailed(reason: String)
}