|
@@ -169,4 +169,21 @@ public interface ImGroupCoreService {
|
|
|
*/
|
|
|
void updateGroupMemberJoinStatus(List<Long> groupMemberIds, Boolean groupJoin);
|
|
|
|
|
|
+ /**
|
|
|
+ * 删除最近私聊消息
|
|
|
+ * @param userId 发送用户ID
|
|
|
+ * @param toUserId 接收用户ID
|
|
|
+ * @return Boolean
|
|
|
+ * @throws Exception Exception
|
|
|
+ */
|
|
|
+ Boolean deletePrivateRecentContact(String userId, String toUserId) throws Exception;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 删除最近群聊消息
|
|
|
+ * @param userId 发送用户ID
|
|
|
+ * @param groupId 群组ID
|
|
|
+ * @return Boolean
|
|
|
+ * @throws Exception Exception
|
|
|
+ */
|
|
|
+ Boolean deleteGroupRecentContact(String userId, String groupId) throws Exception;
|
|
|
}
|