메시지 - 리스트, 쓰기, 상세 페이지 추가
This commit is contained in:
25
SodaLive/Sources/Message/Text/GetTextMessageResponse.swift
Normal file
25
SodaLive/Sources/Message/Text/GetTextMessageResponse.swift
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// GetTextMessageResponse.swift
|
||||
// SodaLive
|
||||
//
|
||||
// Created by klaus on 2023/08/10.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
struct GetTextMessageResponse: Decodable {
|
||||
let totalCount: Int
|
||||
let items: [TextMessageItem]
|
||||
}
|
||||
|
||||
struct TextMessageItem: Decodable, Hashable {
|
||||
let messageId: Int
|
||||
let senderId: Int
|
||||
let senderNickname: String
|
||||
let senderProfileImageUrl: String
|
||||
let recipientNickname: String
|
||||
let recipientProfileImageUrl: String
|
||||
let textMessage: String
|
||||
let date: String
|
||||
let isKept: Bool
|
||||
}
|
||||
Reference in New Issue
Block a user