feat(main): 홈 대화 탭을 추가한다

This commit is contained in:
Yu Sung
2026-07-08 15:54:07 +09:00
parent 403eee262f
commit 09443761af
13 changed files with 938 additions and 23 deletions

View File

@@ -0,0 +1,18 @@
import Foundation
struct MainChatRoomsResponse: Decodable {
let rooms: [MainChatRoomItem]
let hasMore: Bool
let nextCursor: String?
}
struct MainChatRoomItem: Decodable, Identifiable {
let roomId: Int
let chatType: String
let targetName: String
let targetImageUrl: String
let lastMessage: String
let lastMessageAt: String
var id: Int { roomId }
}