This commit is contained in:
hrxiang
2023-06-29 16:48:59 +08:00
parent f04d45f6b8
commit 70a46ed151
57 changed files with 2248 additions and 1774 deletions

View File

@@ -1,11 +1,11 @@
/// 群成员角色
class GroupRoleLevel {
/// 普通成员
static const member = 1;
/// 群主
static const owner = 2;
static const owner = 100;
/// 管理员
static const admin = 3;
static const admin = 60;
/// 普通成员
static const member = 20;
}

View File

@@ -14,4 +14,5 @@ class ListenerType {
static const customBusinessListener = "customBusinessListener";
static const messageKvInfoListener = "messageKvInfoListener";
static const listenerForService = "listenerForService";
static const putFileListener = "putFileListener";
}

View File

@@ -30,9 +30,6 @@ class MessageType {
/// 自定义
static const custom = 110;
/// 撤回
static const revoke = 111;
/// 已读回执
static const has_read_receipt = 112;
@@ -51,9 +48,6 @@ class MessageType {
/// 富文本消息
static const advancedText = 117;
/// 高级撤回
static const advancedRevoke = 118;
static const customMsgNotTriggerConversation = 119;
static const customMsgOnlineOnly = 120;
@@ -154,6 +148,12 @@ class MessageType {
/// 群成员信息改变
static const groupMemberInfoChangedNotification = 1516;
/// 群公告修改
static const groupNoticeChangedNotification = 1519;
/// 群名字修改
static const groupNameChangedNotification = 1520;
static const signalingNotificationBegin = 1600;
/// 信令
@@ -165,4 +165,7 @@ class MessageType {
static const burnAfterReadingNotification = 1701;
static const notificationEnd = 2000;
/// 撤回消息
static const revokeMessageNotification = 2101;
}

View File

@@ -1,18 +1,18 @@
/// 消息发送失败
class MessageFailedCode {
/// 被对方拉黑
static const int blockedByFriend = 600;
static const int blockedByFriend = 1302;
/// 被对方删除
static const int deletedByFriend = 601;
/// 已被移除群聊/群已解散
static const int notInGroup = 302;
static const int notInGroup = 1205;
}
/// 添加好友失败
class AddFriendFailedCode {
/// 该用户已设置不可添加
static const int refuseToAddFriends = 10007;
static const int refuseToAddFriends = 10013;
}