sdk 添加获取会话阅读时间和消息送达时间接口

This commit is contained in:
heavyrian2012
2022-07-20 22:25:46 +08:00
parent 2b09a7bf84
commit dece1d7a1c
8 changed files with 130 additions and 0 deletions
@@ -57,6 +57,8 @@ public interface APIPath {
String Msg_Multicast = "/admin/message/multicast";
String Msg_RecallBroadCast = "/admin/message/recall_broadcast";
String Msg_RecallMultiCast = "/admin/message/recall_multicast";
String Msg_ConvRead = "/admin/message/conv_read";
String Msg_Delivery = "/admin/message/delivery";
String Create_Group = "/admin/group/create";
String Group_Dismiss = "/admin/group/del";
@@ -13,6 +13,15 @@ public class Conversation {
private String target;
private int line;
public Conversation() {
}
public Conversation(int type, String target, int line) {
this.type = type;
this.target = target;
this.line = line;
}
public int getType() {
return type;
}
@@ -0,0 +1,58 @@
/*
* This file is part of the Wildfire Chat package.
* (c) Heavyrain2012 <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
package cn.wildfirechat.pojos;
public class InputGetConvReadTime {
private String userId;
private int conversationType;
private String target;
private int line;
public InputGetConvReadTime() {
}
public InputGetConvReadTime(String userId, int conversationType, String target, int line) {
this.userId = userId;
this.conversationType = conversationType;
this.target = target;
this.line = line;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public int getConversationType() {
return conversationType;
}
public void setConversationType(int conversationType) {
this.conversationType = conversationType;
}
public String getTarget() {
return target;
}
public void setTarget(String target) {
this.target = target;
}
public int getLine() {
return line;
}
public void setLine(int line) {
this.line = line;
}
}
@@ -11,6 +11,13 @@ package cn.wildfirechat.pojos;
public class InputUserId {
private String userId;
public InputUserId() {
}
public InputUserId(String userId) {
this.userId = userId;
}
public String getUserId() {
return userId;
}
@@ -0,0 +1,28 @@
/*
* This file is part of the Wildfire Chat package.
* (c) Heavyrain2012 <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
package cn.wildfirechat.pojos;
public class OutputTimestamp {
private long timestamp;
public OutputTimestamp() {
}
public OutputTimestamp(long timestamp) {
this.timestamp = timestamp;
}
public long getTimestamp() {
return timestamp;
}
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
}