update release note
This commit is contained in:
@@ -17,6 +17,7 @@ Release note 0.97:
|
|||||||
1. 升级部分依赖库到最新版本
|
1. 升级部分依赖库到最新版本
|
||||||
2. 添加名片消息默认推送信息
|
2. 添加名片消息默认推送信息
|
||||||
3. 添加deb和rpm格式软件包
|
3. 添加deb和rpm格式软件包
|
||||||
|
4. 解决linux平台多端的问题
|
||||||
|
|
||||||
--------------
|
--------------
|
||||||
Release note 0.96:
|
Release note 0.96:
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ public class MessageAdmin {
|
|||||||
return AdminHttpUtils.httpJsonPost(path, messageData, Void.class);
|
return AdminHttpUtils.httpJsonPost(path, messageData, Void.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//仅专业版支持
|
||||||
public static IMResult<Void> deleteMessage(long messageUid) throws Exception {
|
public static IMResult<Void> deleteMessage(long messageUid) throws Exception {
|
||||||
String path = APIPath.Msg_Delete;
|
String path = APIPath.Msg_Delete;
|
||||||
DeleteMessageData deleteMessageData = new DeleteMessageData();
|
DeleteMessageData deleteMessageData = new DeleteMessageData();
|
||||||
@@ -40,12 +41,14 @@ public class MessageAdmin {
|
|||||||
return AdminHttpUtils.httpJsonPost(path, deleteMessageData, Void.class);
|
return AdminHttpUtils.httpJsonPost(path, deleteMessageData, Void.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//仅专业版支持
|
||||||
public static IMResult<Void> clearUserMessages(String userId, Conversation conversation, long fromTime, long toTime) throws Exception {
|
public static IMResult<Void> clearUserMessages(String userId, Conversation conversation, long fromTime, long toTime) throws Exception {
|
||||||
String path = APIPath.Msg_Clear_By_User;
|
String path = APIPath.Msg_Clear_By_User;
|
||||||
InputClearUserMessages clearUserMessages = new InputClearUserMessages(userId, conversation, fromTime, toTime);
|
InputClearUserMessages clearUserMessages = new InputClearUserMessages(userId, conversation, fromTime, toTime);
|
||||||
return AdminHttpUtils.httpJsonPost(path, clearUserMessages, Void.class);
|
return AdminHttpUtils.httpJsonPost(path, clearUserMessages, Void.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//仅专业版支持
|
||||||
public static IMResult<Void> updateMessageContent(String operator, long messageUid, MessagePayload payload, boolean distribute) throws Exception {
|
public static IMResult<Void> updateMessageContent(String operator, long messageUid, MessagePayload payload, boolean distribute) throws Exception {
|
||||||
String path = APIPath.Msg_Update;
|
String path = APIPath.Msg_Update;
|
||||||
UpdateMessageContentData updateMessageContentData = new UpdateMessageContentData();
|
UpdateMessageContentData updateMessageContentData = new UpdateMessageContentData();
|
||||||
@@ -57,6 +60,7 @@ public class MessageAdmin {
|
|||||||
return AdminHttpUtils.httpJsonPost(path, updateMessageContentData, Void.class);
|
return AdminHttpUtils.httpJsonPost(path, updateMessageContentData, Void.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//仅专业版支持
|
||||||
public static IMResult<Void> clearConversation(String userId, Conversation conversation) throws Exception {
|
public static IMResult<Void> clearConversation(String userId, Conversation conversation) throws Exception {
|
||||||
String path = APIPath.Conversation_Delete;
|
String path = APIPath.Conversation_Delete;
|
||||||
InputUserConversation input = new InputUserConversation();
|
InputUserConversation input = new InputUserConversation();
|
||||||
|
|||||||
Reference in New Issue
Block a user