27 lines
462 B
Swift
27 lines
462 B
Swift
//
|
|
// ChatCustomMsgModel.swift
|
|
// yinmeng-ios
|
|
//
|
|
// Created by duoban 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 ""
|
|
}
|
|
|
|
}
|