This commit is contained in:
jack ning
2025-05-12 15:39:15 +08:00
parent 0cd18668f5
commit 5ddba7924d
3 changed files with 12 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-06-05 21:50:54
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-05-08 09:06:35
* @LastEditTime: 2025-05-12 15:21:53
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
* Please be aware of the BSL license restrictions before installing Bytedesk IM
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
@@ -120,6 +120,7 @@ public enum MessageTypeEnum {
GROUP_INVITE,
GROUP_DISMISS,
NOTIFICATION_AGENT_REPLY_TIMEOUT, // 客服回复超时提醒
NOTIFICATION_RATE_SUBMITTED, // 访客评价提交提醒
ERROR,
;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-08-31 16:23:54
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-05-08 09:06:58
* @LastEditTime: 2025-05-12 15:22:19
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
* Please be aware of the BSL license restrictions before installing Bytedesk IM
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
@@ -90,6 +90,13 @@ public class MessageUtils {
content);
}
public static MessageProtobuf createRateSubmittedMessage(ThreadEntity thread, String content) {
return MessageUtils.createThreadMessage(UidUtils.getInstance().getUid(),
thread,
MessageTypeEnum.NOTIFICATION_RATE_SUBMITTED,
content);
}
public static MessageProtobuf createRateInviteMessage(ThreadEntity thread, String content) {
return MessageUtils.createThreadMessage(UidUtils.getInstance().getUid(),
thread,