Skip to content

Commit 37c0a66

Browse files
authored
feat: add msgClientTime property field to MsgListItem (#207)
1 parent 07fe853 commit 37c0a66

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/main/java/io/github/doocs/im/model/response/MsgListItem.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ public class MsgListItem implements Serializable {
4242
@JsonProperty("MsgTimeStamp")
4343
private Integer msgTimeStamp;
4444

45+
/**
46+
* 客户端消息时间戳
47+
*/
48+
@JsonProperty("MsgClientTime")
49+
private Integer msgClientTime;
50+
4551
/**
4652
* 该条消息的属性,0表示正常消息,8表示被撤回的消息
4753
*/
@@ -112,6 +118,14 @@ public void setMsgTimeStamp(Integer msgTimeStamp) {
112118
this.msgTimeStamp = msgTimeStamp;
113119
}
114120

121+
public Integer getMsgClientTime() {
122+
return msgClientTime;
123+
}
124+
125+
public void setMsgClientTime(Integer msgClientTime) {
126+
this.msgClientTime = msgClientTime;
127+
}
128+
115129
public Integer getMsgFlagBits() {
116130
return msgFlagBits;
117131
}
@@ -160,6 +174,7 @@ public String toString() {
160174
", msgSeq=" + msgSeq +
161175
", msgRandom=" + msgRandom +
162176
", msgTimeStamp=" + msgTimeStamp +
177+
", msgClientTime=" + msgClientTime +
163178
", msgFlagBits=" + msgFlagBits +
164179
", isPeerRead=" + isPeerRead +
165180
", msgKey='" + msgKey + '\'' +

0 commit comments

Comments
 (0)