// // ChatCustomMsgModel.swift // yinmeng-ios // // Created by yinmeng on 2024/3/23. // import UIKit import HandyJSON class ChatCustomMsgModel: NSObject, HandyJSON,NIMCustomAttachment { required override init(){ } var first = 0 var second = 0 var data:[String:Any] = [:] // encodeAttachment func encode() -> String { if let text = self.toJSONString(){ return text } return "" } }