open 3.0
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -14,4 +14,5 @@ class ListenerType {
|
||||
static const customBusinessListener = "customBusinessListener";
|
||||
static const messageKvInfoListener = "messageKvInfoListener";
|
||||
static const listenerForService = "listenerForService";
|
||||
static const putFileListener = "putFileListener";
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user