node-nim 9.14.2 → 10.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/dist/loader.js +35 -35
- package/dist/nim/client.js +184 -184
- package/dist/nim/client.js.map +1 -1
- package/dist/nim/data_sync.js +19 -19
- package/dist/nim/friend.js +150 -150
- package/dist/nim/global.js +131 -131
- package/dist/nim/msglog.js +687 -687
- package/dist/nim/nos.js +216 -180
- package/dist/nim/nos.js.map +1 -1
- package/dist/nim/online_session.js +85 -85
- package/dist/nim/pass_through_proxy.js +39 -39
- package/dist/nim/plugin.js +65 -65
- package/dist/nim/session.js +392 -392
- package/dist/nim/subscribe_event.js +142 -142
- package/dist/nim/super_team.js +592 -592
- package/dist/nim/sysmsg.js +194 -194
- package/dist/nim/talk.js +209 -209
- package/dist/nim/talk.js.map +1 -1
- package/dist/nim/talkex.js +191 -191
- package/dist/nim/team.js +818 -818
- package/dist/nim/tool.js +119 -119
- package/dist/nim/user.js +201 -201
- package/dist/nim_def/client_def.js +245 -245
- package/dist/nim_def/client_def.js.map +1 -1
- package/dist/nim_def/data_sync_def.js +20 -20
- package/dist/nim_def/doc_trans_def.js +16 -16
- package/dist/nim_def/friend_def.js +37 -37
- package/dist/nim_def/global_def.js +39 -39
- package/dist/nim_def/msglog_def.js +148 -148
- package/dist/nim_def/nos_def.js +16 -16
- package/dist/nim_def/online_session_def.js +2 -2
- package/dist/nim_def/pass_through_proxy_def.js +10 -10
- package/dist/nim_def/plugin_def.js +2 -2
- package/dist/nim_def/session_def.js +26 -26
- package/dist/nim_def/subscribe_event_def.js +52 -52
- package/dist/nim_def/super_team_def.js +64 -64
- package/dist/nim_def/sysmsg_def.js +28 -28
- package/dist/nim_def/talk_def.js +2 -2
- package/dist/nim_def/talkex_def.js +2 -2
- package/dist/nim_def/team_def.js +69 -69
- package/dist/nim_def/tool_def.js +11 -11
- package/dist/nim_def/user_def.js +22 -22
- package/dist/node-nim.js +171 -171
- package/dist/node-nim.js.map +1 -1
- package/dist/qchat/attachment.js +63 -63
- package/dist/qchat/channel.js +314 -314
- package/dist/qchat/channel_category.js +187 -187
- package/dist/qchat/instance.js +77 -77
- package/dist/qchat/message.js +285 -285
- package/dist/qchat/role.js +423 -423
- package/dist/qchat/server.js +453 -453
- package/dist/qchat/system_notification.js +74 -74
- package/dist/qchat_def/attachment_def.js +2 -2
- package/dist/qchat_def/channel_def.js +2 -2
- package/dist/qchat_def/instance_def.js +2 -2
- package/dist/qchat_def/message_def.js +2 -2
- package/dist/qchat_def/public_def.js +649 -649
- package/dist/qchat_def/public_def.js.map +1 -1
- package/dist/qchat_def/role_def.js +2 -2
- package/dist/qchat_def/server_def.js +2 -2
- package/dist/qchat_def/system_notification_def.js +2 -2
- package/dist/v2/v2_nim_chatroom_client.js +135 -0
- package/dist/v2/v2_nim_chatroom_client.js.map +1 -0
- package/dist/v2/v2_nim_chatroom_service.js +244 -0
- package/dist/v2/v2_nim_chatroom_service.js.map +1 -0
- package/dist/v2/v2_nim_client.js +138 -0
- package/dist/v2/v2_nim_client.js.map +1 -0
- package/dist/v2/v2_nim_conversation_group_service.js +116 -0
- package/dist/v2/v2_nim_conversation_group_service.js.map +1 -0
- package/dist/v2/v2_nim_conversation_service.js +236 -0
- package/dist/v2/v2_nim_conversation_service.js.map +1 -0
- package/dist/v2/v2_nim_friend_service.js +128 -0
- package/dist/v2/v2_nim_friend_service.js.map +1 -0
- package/dist/v2/v2_nim_login_service.js +119 -123
- package/dist/v2/v2_nim_login_service.js.map +1 -1
- package/dist/v2/v2_nim_message_service.js +382 -0
- package/dist/v2/v2_nim_message_service.js.map +1 -0
- package/dist/v2/v2_nim_notification_service.js +30 -0
- package/dist/v2/v2_nim_notification_service.js.map +1 -0
- package/dist/v2/v2_nim_setting_service.js +86 -0
- package/dist/v2/v2_nim_setting_service.js.map +1 -0
- package/dist/v2/v2_nim_storage_service.js +58 -0
- package/dist/v2/v2_nim_storage_service.js.map +1 -0
- package/dist/v2/v2_nim_team_service.js +360 -0
- package/dist/v2/v2_nim_team_service.js.map +1 -0
- package/dist/v2/v2_nim_user_service.js +76 -0
- package/dist/v2/v2_nim_user_service.js.map +1 -0
- package/dist/v2/v2_nim_utilities.js +276 -0
- package/dist/v2/v2_nim_utilities.js.map +1 -0
- package/dist/v2_def/v2_nim_callback_def.js +2 -2
- package/dist/v2_def/v2_nim_enum_def.js +1087 -325
- package/dist/v2_def/v2_nim_enum_def.js.map +1 -1
- package/dist/v2_def/v2_nim_struct_def.js +2 -2
- package/package.json +74 -74
- package/script/download-sdk.js +78 -78
- package/script/exec-node-nim-tester.js +17 -17
- package/script/publish-to-netease-npm.js +3 -2
- package/types/loader.d.ts +2 -2
- package/types/nim/client.d.ts +123 -123
- package/types/nim/data_sync.d.ts +12 -12
- package/types/nim/friend.d.ts +82 -82
- package/types/nim/global.d.ts +69 -69
- package/types/nim/msglog.d.ts +392 -392
- package/types/nim/nos.d.ts +118 -118
- package/types/nim/online_session.d.ts +44 -44
- package/types/nim/pass_through_proxy.d.ts +24 -24
- package/types/nim/plugin.d.ts +39 -39
- package/types/nim/session.d.ts +212 -212
- package/types/nim/subscribe_event.d.ts +87 -87
- package/types/nim/super_team.d.ts +331 -331
- package/types/nim/sysmsg.d.ts +105 -105
- package/types/nim/talk.d.ts +94 -94
- package/types/nim/talkex.d.ts +95 -95
- package/types/nim/team.d.ts +461 -461
- package/types/nim/tool.d.ts +77 -77
- package/types/nim/user.d.ts +111 -111
- package/types/nim_def/client_def.d.ts +284 -284
- package/types/nim_def/data_sync_def.d.ts +19 -19
- package/types/nim_def/doc_trans_def.d.ts +11 -11
- package/types/nim_def/friend_def.d.ts +65 -65
- package/types/nim_def/global_def.d.ts +62 -62
- package/types/nim_def/msglog_def.d.ts +373 -373
- package/types/nim_def/nos_def.d.ts +72 -72
- package/types/nim_def/online_session_def.d.ts +34 -34
- package/types/nim_def/pass_through_proxy_def.d.ts +13 -13
- package/types/nim_def/plugin_def.d.ts +8 -8
- package/types/nim_def/session_def.d.ts +114 -114
- package/types/nim_def/subscribe_event_def.d.ts +83 -83
- package/types/nim_def/super_team_def.d.ts +144 -137
- package/types/nim_def/sysmsg_def.d.ts +70 -70
- package/types/nim_def/talk_def.d.ts +96 -96
- package/types/nim_def/talkex_def.d.ts +112 -112
- package/types/nim_def/team_def.d.ts +167 -167
- package/types/nim_def/tool_def.d.ts +28 -28
- package/types/nim_def/user_def.d.ts +59 -59
- package/types/node-nim.d.ts +90 -93
- package/types/qchat/attachment.d.ts +40 -40
- package/types/qchat/channel.d.ts +139 -139
- package/types/qchat/channel_category.d.ts +82 -82
- package/types/qchat/instance.d.ts +46 -46
- package/types/qchat/message.d.ts +128 -128
- package/types/qchat/role.d.ts +166 -166
- package/types/qchat/server.d.ts +198 -198
- package/types/qchat/system_notification.d.ts +39 -39
- package/types/qchat_def/attachment_def.d.ts +71 -71
- package/types/qchat_def/channel_def.d.ts +643 -643
- package/types/qchat_def/instance_def.d.ts +214 -214
- package/types/qchat_def/message_def.d.ts +565 -565
- package/types/qchat_def/public_def.d.ts +754 -754
- package/types/qchat_def/role_def.d.ts +413 -413
- package/types/qchat_def/server_def.d.ts +529 -529
- package/types/qchat_def/system_notification_def.d.ts +172 -172
- package/types/v2/v2_nim_chatroom_client.d.ts +73 -0
- package/types/v2/v2_nim_chatroom_service.d.ts +114 -0
- package/types/v2/v2_nim_client.d.ts +75 -0
- package/types/v2/v2_nim_conversation_group_service.d.ts +54 -0
- package/types/v2/v2_nim_conversation_service.d.ts +110 -0
- package/types/v2/v2_nim_friend_service.d.ts +58 -0
- package/types/v2/v2_nim_login_service.d.ts +80 -96
- package/types/v2/v2_nim_message_service.d.ts +143 -0
- package/types/v2/v2_nim_notification_service.d.ts +18 -0
- package/types/v2/v2_nim_setting_service.d.ts +43 -0
- package/types/v2/v2_nim_storage_service.d.ts +28 -0
- package/types/v2/v2_nim_team_service.d.ts +184 -0
- package/types/v2/v2_nim_user_service.d.ts +34 -0
- package/types/v2/v2_nim_utilities.d.ts +168 -0
- package/types/v2_def/v2_nim_callback_def.d.ts +7 -20
- package/types/v2_def/v2_nim_enum_def.d.ts +1009 -300
- package/types/v2_def/v2_nim_struct_def.d.ts +1539 -338
- package/dist/chatroom/chatroom.js +0 -263
- package/dist/chatroom/chatroom.js.map +0 -1
- package/dist/chatroom_def/chatroom_def.js +0 -120
- package/dist/chatroom_def/chatroom_def.js.map +0 -1
- package/dist/v2/v2_nim_instance.js +0 -44
- package/dist/v2/v2_nim_instance.js.map +0 -1
- package/types/chatroom/chatroom.d.ts +0 -55
- package/types/chatroom_def/chatroom_def.d.ts +0 -448
- package/types/v2/v2_nim_instance.d.ts +0 -25
|
@@ -1,650 +1,650 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NIMQChatSystemNotificationStatus = exports.NIMQChatSystemNotificationType = exports.NIMQChatSystemNotificationToType = exports.NIMQChatInviteApplyRecordStatus = exports.NIMQChatInviteApplyRecordType = exports.NIMQChatServerSearchType = exports.NIMQChatServerInviteFailReason = exports.NIMQChatServerApplyMode = exports.NIMQChatServerInviteMode = exports.NIMQChatGetReferMessageType = exports.NIMQChatQuickCommentOperation = exports.NIMQChatMsgType = exports.NIMQChatMessageNotifyReason = exports.NIMQChatMessageStatus = exports.NIMQChatFCSAuthenticationType = exports.NIMQChatHandShakeType = exports.NIMQChatCommEncryptionAlgorithm = exports.NIMQChatExchangeKeyEncryptionAlgorithm = exports.NIMQChatLoginStatus = exports.NIMQChatLoginStep = exports.NIMQChatClientType = exports.NIMQChatLoginAuthType = exports.NIMQChatPermissionsOption = exports.NIMQChatRoleType = exports.NIMQChatPermissions = exports.NIMResCode = exports.NIMQChatChannelSearchSort = exports.NIMQChatServerSearchSort = exports.NIMQChatMessageSearchSort = exports.NIMQChatSearchOrder = exports.NIMQChatBanMemberOpeType = exports.NIMQChatDownloadResType = exports.NIMQChatSubscribeType = exports.NIMQChatSubscribeOpeType = exports.NIMQChatChannelSyncMode = exports.NIMQChatChannelVisitorMode = exports.NIMQChatChannelViewMode = exports.NIMQChatChannelWhiteBlackOpeType = exports.NIMQChatChannelWhiteBlackType = exports.NIMQChatChannelMemberIdentifyOpeType = exports.NIMQChatChannelMemberIdentifyType = exports.NIMQChatChannelType = void 0;
|
|
4
|
-
var NIMQChatChannelType;
|
|
5
|
-
(function (NIMQChatChannelType) {
|
|
6
|
-
/** 普通文本频道 */
|
|
7
|
-
NIMQChatChannelType[NIMQChatChannelType["kNIMQChatChannelTypeText"] = 0] = "kNIMQChatChannelTypeText";
|
|
8
|
-
/** RTC频道 */
|
|
9
|
-
NIMQChatChannelType[NIMQChatChannelType["kNIMQChatChannelTypeRTC"] = 1] = "kNIMQChatChannelTypeRTC";
|
|
10
|
-
/** 自定义频道类型 */
|
|
11
|
-
NIMQChatChannelType[NIMQChatChannelType["kNIMQChatChannelTypeCustom"] = 100] = "kNIMQChatChannelTypeCustom";
|
|
12
|
-
})(NIMQChatChannelType = exports.NIMQChatChannelType || (exports.NIMQChatChannelType = {}));
|
|
13
|
-
var NIMQChatChannelMemberIdentifyType;
|
|
14
|
-
(function (NIMQChatChannelMemberIdentifyType) {
|
|
15
|
-
NIMQChatChannelMemberIdentifyType[NIMQChatChannelMemberIdentifyType["kNIMQChatWhite"] = 1] = "kNIMQChatWhite";
|
|
16
|
-
NIMQChatChannelMemberIdentifyType[NIMQChatChannelMemberIdentifyType["kNIMQChatBlack"] = 2] = "kNIMQChatBlack";
|
|
17
|
-
})(NIMQChatChannelMemberIdentifyType = exports.NIMQChatChannelMemberIdentifyType || (exports.NIMQChatChannelMemberIdentifyType = {}));
|
|
18
|
-
var NIMQChatChannelMemberIdentifyOpeType;
|
|
19
|
-
(function (NIMQChatChannelMemberIdentifyOpeType) {
|
|
20
|
-
NIMQChatChannelMemberIdentifyOpeType[NIMQChatChannelMemberIdentifyOpeType["kNIMQChatChannelMemberIdentifyOpeTypeAdd"] = 1] = "kNIMQChatChannelMemberIdentifyOpeTypeAdd";
|
|
21
|
-
NIMQChatChannelMemberIdentifyOpeType[NIMQChatChannelMemberIdentifyOpeType["kNIMQChatChannelMemberIdentifyOpeTypeRemove"] = 2] = "kNIMQChatChannelMemberIdentifyOpeTypeRemove";
|
|
22
|
-
})(NIMQChatChannelMemberIdentifyOpeType = exports.NIMQChatChannelMemberIdentifyOpeType || (exports.NIMQChatChannelMemberIdentifyOpeType = {}));
|
|
23
|
-
var NIMQChatChannelWhiteBlackType;
|
|
24
|
-
(function (NIMQChatChannelWhiteBlackType) {
|
|
25
|
-
NIMQChatChannelWhiteBlackType[NIMQChatChannelWhiteBlackType["kNIMQChatChannelWhite"] = 1] = "kNIMQChatChannelWhite";
|
|
26
|
-
NIMQChatChannelWhiteBlackType[NIMQChatChannelWhiteBlackType["kNIMQChatChannelBlack"] = 2] = "kNIMQChatChannelBlack";
|
|
27
|
-
})(NIMQChatChannelWhiteBlackType = exports.NIMQChatChannelWhiteBlackType || (exports.NIMQChatChannelWhiteBlackType = {}));
|
|
28
|
-
var NIMQChatChannelWhiteBlackOpeType;
|
|
29
|
-
(function (NIMQChatChannelWhiteBlackOpeType) {
|
|
30
|
-
NIMQChatChannelWhiteBlackOpeType[NIMQChatChannelWhiteBlackOpeType["kNIMQChatChannelWhiteBlackOpeTypeAdd"] = 1] = "kNIMQChatChannelWhiteBlackOpeTypeAdd";
|
|
31
|
-
NIMQChatChannelWhiteBlackOpeType[NIMQChatChannelWhiteBlackOpeType["kNIMQChatChannelWhiteBlackOpeTypeRemove"] = 2] = "kNIMQChatChannelWhiteBlackOpeTypeRemove";
|
|
32
|
-
})(NIMQChatChannelWhiteBlackOpeType = exports.NIMQChatChannelWhiteBlackOpeType || (exports.NIMQChatChannelWhiteBlackOpeType = {}));
|
|
33
|
-
var NIMQChatChannelViewMode;
|
|
34
|
-
(function (NIMQChatChannelViewMode) {
|
|
35
|
-
/** 公开模式 */
|
|
36
|
-
NIMQChatChannelViewMode[NIMQChatChannelViewMode["kNIMQChatChannelViewModePublic"] = 0] = "kNIMQChatChannelViewModePublic";
|
|
37
|
-
/** 私密模式 */
|
|
38
|
-
NIMQChatChannelViewMode[NIMQChatChannelViewMode["kNIMQChatChannelViewModePrivate"] = 1] = "kNIMQChatChannelViewModePrivate";
|
|
39
|
-
})(NIMQChatChannelViewMode = exports.NIMQChatChannelViewMode || (exports.NIMQChatChannelViewMode = {}));
|
|
40
|
-
var NIMQChatChannelVisitorMode;
|
|
41
|
-
(function (NIMQChatChannelVisitorMode) {
|
|
42
|
-
/** 游客可见 */
|
|
43
|
-
NIMQChatChannelVisitorMode[NIMQChatChannelVisitorMode["kNIMQChatChannelVisitorModeVisible"] = 0] = "kNIMQChatChannelVisitorModeVisible";
|
|
44
|
-
/** 游客不可见 */
|
|
45
|
-
NIMQChatChannelVisitorMode[NIMQChatChannelVisitorMode["kNIMQChatChannelVisitorModeInvisible"] = 1] = "kNIMQChatChannelVisitorModeInvisible";
|
|
46
|
-
/** 跟随模式, 频道公开游客可见, 频道私密游客不可见 */
|
|
47
|
-
NIMQChatChannelVisitorMode[NIMQChatChannelVisitorMode["kNIMQChatChannelVisitorModeFollow"] = 2] = "kNIMQChatChannelVisitorModeFollow";
|
|
48
|
-
})(NIMQChatChannelVisitorMode = exports.NIMQChatChannelVisitorMode || (exports.NIMQChatChannelVisitorMode = {}));
|
|
49
|
-
var NIMQChatChannelSyncMode;
|
|
50
|
-
(function (NIMQChatChannelSyncMode) {
|
|
51
|
-
/** 不与频道分组同步 */
|
|
52
|
-
NIMQChatChannelSyncMode[NIMQChatChannelSyncMode["kNIMQChatChannelSyncModeNoSync"] = 0] = "kNIMQChatChannelSyncModeNoSync";
|
|
53
|
-
/** 与频道分组同步 */
|
|
54
|
-
NIMQChatChannelSyncMode[NIMQChatChannelSyncMode["kNIMQChatChannelSyncModeSync"] = 1] = "kNIMQChatChannelSyncModeSync";
|
|
55
|
-
})(NIMQChatChannelSyncMode = exports.NIMQChatChannelSyncMode || (exports.NIMQChatChannelSyncMode = {}));
|
|
56
|
-
var NIMQChatSubscribeOpeType;
|
|
57
|
-
(function (NIMQChatSubscribeOpeType) {
|
|
58
|
-
/** 订阅 */
|
|
59
|
-
NIMQChatSubscribeOpeType[NIMQChatSubscribeOpeType["kNIMQChatSubscribeOpeTypeSubscribe"] = 1] = "kNIMQChatSubscribeOpeTypeSubscribe";
|
|
60
|
-
/** 取消订阅 */
|
|
61
|
-
NIMQChatSubscribeOpeType[NIMQChatSubscribeOpeType["kNIMQChatSubscribeOpeTypeUnsubscribe"] = 2] = "kNIMQChatSubscribeOpeTypeUnsubscribe";
|
|
62
|
-
})(NIMQChatSubscribeOpeType = exports.NIMQChatSubscribeOpeType || (exports.NIMQChatSubscribeOpeType = {}));
|
|
63
|
-
var NIMQChatSubscribeType;
|
|
64
|
-
(function (NIMQChatSubscribeType) {
|
|
65
|
-
/** 未知 */
|
|
66
|
-
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeUnknow"] = 0] = "kNIMQChatSubscribeTypeUnknow";
|
|
67
|
-
/** 订阅某个channel的【消息】/【通知】 */
|
|
68
|
-
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeMsg"] = 1] = "kNIMQChatSubscribeTypeMsg";
|
|
69
|
-
/** 订阅某个channel的【消息未读数】/【通知】 */
|
|
70
|
-
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeUnreadCount"] = 2] = "kNIMQChatSubscribeTypeUnreadCount";
|
|
71
|
-
/** 订阅某个channel的【消息未读状态】/【通知】 */
|
|
72
|
-
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeUnreadStatus"] = 3] = "kNIMQChatSubscribeTypeUnreadStatus";
|
|
73
|
-
/** 订阅某个server的【通知】 */
|
|
74
|
-
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeServerNotification"] = 4] = "kNIMQChatSubscribeTypeServerNotification";
|
|
75
|
-
/** 订阅某个channel的【正在输入事件】 */
|
|
76
|
-
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeTypingEvent"] = 5] = "kNIMQChatSubscribeTypeTypingEvent";
|
|
77
|
-
/** 以游客身份订阅某个channel的【消息】/【通知】 */
|
|
78
|
-
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeVisitorMsg"] = 6] = "kNIMQChatSubscribeTypeVisitorMsg";
|
|
79
|
-
/** 以游客身份订阅某个server的【消息】/【通知】 */
|
|
80
|
-
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeVisitorServerNotification"] = 7] = "kNIMQChatSubscribeTypeVisitorServerNotification";
|
|
81
|
-
})(NIMQChatSubscribeType = exports.NIMQChatSubscribeType || (exports.NIMQChatSubscribeType = {}));
|
|
82
|
-
var NIMQChatDownloadResType;
|
|
83
|
-
(function (NIMQChatDownloadResType) {
|
|
84
|
-
/** 原文件 */
|
|
85
|
-
NIMQChatDownloadResType[NIMQChatDownloadResType["NIMQChatDownloadResTypeSource"] = 1] = "NIMQChatDownloadResTypeSource";
|
|
86
|
-
/** 图片缩略图 */
|
|
87
|
-
NIMQChatDownloadResType[NIMQChatDownloadResType["NIMQChatDownloadResTypeImageThumnail"] = 2] = "NIMQChatDownloadResTypeImageThumnail";
|
|
88
|
-
/** 视频封面 */
|
|
89
|
-
NIMQChatDownloadResType[NIMQChatDownloadResType["NIMQChatDownloadResTypeVideoCover"] = 3] = "NIMQChatDownloadResTypeVideoCover";
|
|
90
|
-
})(NIMQChatDownloadResType = exports.NIMQChatDownloadResType || (exports.NIMQChatDownloadResType = {}));
|
|
91
|
-
var NIMQChatBanMemberOpeType;
|
|
92
|
-
(function (NIMQChatBanMemberOpeType) {
|
|
93
|
-
/** 封禁 */
|
|
94
|
-
NIMQChatBanMemberOpeType[NIMQChatBanMemberOpeType["kNIMQChatBanMemberOpeTypeBan"] = 1] = "kNIMQChatBanMemberOpeTypeBan";
|
|
95
|
-
/** 解除封禁 */
|
|
96
|
-
NIMQChatBanMemberOpeType[NIMQChatBanMemberOpeType["kNIMQChatBanMemberOpeTypeUnban"] = 2] = "kNIMQChatBanMemberOpeTypeUnban";
|
|
97
|
-
})(NIMQChatBanMemberOpeType = exports.NIMQChatBanMemberOpeType || (exports.NIMQChatBanMemberOpeType = {}));
|
|
98
|
-
var NIMQChatSearchOrder;
|
|
99
|
-
(function (NIMQChatSearchOrder) {
|
|
100
|
-
/** 按时间正序 */
|
|
101
|
-
NIMQChatSearchOrder[NIMQChatSearchOrder["kNIMQChatSearchOrderAsc"] = 1] = "kNIMQChatSearchOrderAsc";
|
|
102
|
-
/** 按时间倒序 */
|
|
103
|
-
NIMQChatSearchOrder[NIMQChatSearchOrder["kNIMQChatSearchOrderDesc"] = 2] = "kNIMQChatSearchOrderDesc";
|
|
104
|
-
})(NIMQChatSearchOrder = exports.NIMQChatSearchOrder || (exports.NIMQChatSearchOrder = {}));
|
|
105
|
-
var NIMQChatMessageSearchSort;
|
|
106
|
-
(function (NIMQChatMessageSearchSort) {
|
|
107
|
-
/** 创建时间排序 */
|
|
108
|
-
NIMQChatMessageSearchSort[NIMQChatMessageSearchSort["kNIMQChatMessageSearchSortCreateTime"] = 1] = "kNIMQChatMessageSearchSortCreateTime";
|
|
109
|
-
})(NIMQChatMessageSearchSort = exports.NIMQChatMessageSearchSort || (exports.NIMQChatMessageSearchSort = {}));
|
|
110
|
-
var NIMQChatServerSearchSort;
|
|
111
|
-
(function (NIMQChatServerSearchSort) {
|
|
112
|
-
/** 自定义权重排序(详见服务器端文档) */
|
|
113
|
-
NIMQChatServerSearchSort[NIMQChatServerSearchSort["kNIMQChatServerSearchSortCustom"] = 0] = "kNIMQChatServerSearchSortCustom";
|
|
114
|
-
/** 创建时间排序 */
|
|
115
|
-
NIMQChatServerSearchSort[NIMQChatServerSearchSort["kNIMQChatServerSearchSortCreateTime"] = 1] = "kNIMQChatServerSearchSortCreateTime";
|
|
116
|
-
/** 服务器总人数排序 */
|
|
117
|
-
NIMQChatServerSearchSort[NIMQChatServerSearchSort["kNIMQChatServerSearchSortMemberCOunt"] = 2] = "kNIMQChatServerSearchSortMemberCOunt";
|
|
118
|
-
})(NIMQChatServerSearchSort = exports.NIMQChatServerSearchSort || (exports.NIMQChatServerSearchSort = {}));
|
|
119
|
-
var NIMQChatChannelSearchSort;
|
|
120
|
-
(function (NIMQChatChannelSearchSort) {
|
|
121
|
-
/** 自定义权重排序(详见服务器端文档) */
|
|
122
|
-
NIMQChatChannelSearchSort[NIMQChatChannelSearchSort["kNIMQChatChannelSearchSortCustom"] = 0] = "kNIMQChatChannelSearchSortCustom";
|
|
123
|
-
/** 创建时间排序 */
|
|
124
|
-
NIMQChatChannelSearchSort[NIMQChatChannelSearchSort["kNIMQChatChannelSearchSortCreateTime"] = 1] = "kNIMQChatChannelSearchSortCreateTime";
|
|
125
|
-
})(NIMQChatChannelSearchSort = exports.NIMQChatChannelSearchSort || (exports.NIMQChatChannelSearchSort = {}));
|
|
126
|
-
var NIMResCode;
|
|
127
|
-
(function (NIMResCode) {
|
|
128
|
-
// 通用错误码
|
|
129
|
-
/// 错误
|
|
130
|
-
NIMResCode[NIMResCode["kNIMResError"] = 0] = "kNIMResError";
|
|
131
|
-
/// 没有错误,一切正常
|
|
132
|
-
NIMResCode[NIMResCode["kNIMResSuccess"] = 200] = "kNIMResSuccess";
|
|
133
|
-
/// 客户端版本不正确
|
|
134
|
-
NIMResCode[NIMResCode["kNIMResVersionError"] = 201] = "kNIMResVersionError";
|
|
135
|
-
/// 用户名或密码错误
|
|
136
|
-
NIMResCode[NIMResCode["kNIMResUidPassError"] = 302] = "kNIMResUidPassError";
|
|
137
|
-
/// 禁止操作
|
|
138
|
-
NIMResCode[NIMResCode["kNIMResForbidden"] = 403] = "kNIMResForbidden";
|
|
139
|
-
/// 请求的目标(用户或对象)不存在
|
|
140
|
-
NIMResCode[NIMResCode["kNIMResNotExist"] = 404] = "kNIMResNotExist";
|
|
141
|
-
/// 数据自上次查询以来未发生变化(用于增量更新)
|
|
142
|
-
NIMResCode[NIMResCode["kNIMResNoModify"] = 406] = "kNIMResNoModify";
|
|
143
|
-
/// 请求过程超时
|
|
144
|
-
NIMResCode[NIMResCode["kNIMResTimeoutError"] = 408] = "kNIMResTimeoutError";
|
|
145
|
-
/// 参数错误
|
|
146
|
-
NIMResCode[NIMResCode["kNIMResParameterError"] = 414] = "kNIMResParameterError";
|
|
147
|
-
/// 网络连接出现错误
|
|
148
|
-
NIMResCode[NIMResCode["kNIMResConnectionError"] = 415] = "kNIMResConnectionError";
|
|
149
|
-
/// 操作太过频繁
|
|
150
|
-
NIMResCode[NIMResCode["kNIMResFrequently"] = 416] = "kNIMResFrequently";
|
|
151
|
-
/// 对象已经存在/重复操作
|
|
152
|
-
NIMResCode[NIMResCode["kNIMResExist"] = 417] = "kNIMResExist";
|
|
153
|
-
/// 超限
|
|
154
|
-
NIMResCode[NIMResCode["kNIMResOverrun"] = 419] = "kNIMResOverrun";
|
|
155
|
-
/// 帐号被禁用
|
|
156
|
-
NIMResCode[NIMResCode["kNIMResAccountBlock"] = 422] = "kNIMResAccountBlock";
|
|
157
|
-
/// 未知错误,或者不方便告诉你
|
|
158
|
-
NIMResCode[NIMResCode["kNIMResUnknownError"] = 500] = "kNIMResUnknownError";
|
|
159
|
-
/// 服务器数据错误
|
|
160
|
-
NIMResCode[NIMResCode["kNIMResServerDataError"] = 501] = "kNIMResServerDataError";
|
|
161
|
-
/// 服务器太忙
|
|
162
|
-
NIMResCode[NIMResCode["kNIMResTooBuzy"] = 503] = "kNIMResTooBuzy";
|
|
163
|
-
/// 超过配置有效期
|
|
164
|
-
NIMResCode[NIMResCode["kNIMResExceedLimit"] = 508] = "kNIMResExceedLimit";
|
|
165
|
-
/// 协议无效, 不允许访问的协议
|
|
166
|
-
NIMResCode[NIMResCode["kNIMResInvalid"] = 509] = "kNIMResInvalid";
|
|
167
|
-
// 群错误码
|
|
168
|
-
/// 已达到人数限制
|
|
169
|
-
NIMResCode[NIMResCode["kNIMResTeamECountLimit"] = 801] = "kNIMResTeamECountLimit";
|
|
170
|
-
/// 没有权限
|
|
171
|
-
NIMResCode[NIMResCode["kNIMResTeamENAccess"] = 802] = "kNIMResTeamENAccess";
|
|
172
|
-
/// 群不存在
|
|
173
|
-
NIMResCode[NIMResCode["kNIMResTeamENotExist"] = 803] = "kNIMResTeamENotExist";
|
|
174
|
-
/// 用户不在兴趣组里面
|
|
175
|
-
NIMResCode[NIMResCode["kNIMResTeamEMemberNotExist"] = 804] = "kNIMResTeamEMemberNotExist";
|
|
176
|
-
/// 群类型不对
|
|
177
|
-
NIMResCode[NIMResCode["kNIMResTeamErrType"] = 805] = "kNIMResTeamErrType";
|
|
178
|
-
/// 创建群数量限制
|
|
179
|
-
NIMResCode[NIMResCode["kNIMResTeamLimit"] = 806] = "kNIMResTeamLimit";
|
|
180
|
-
/// 群成员状态不对
|
|
181
|
-
NIMResCode[NIMResCode["kNIMResTeamUserStatusErr"] = 807] = "kNIMResTeamUserStatusErr";
|
|
182
|
-
/// 申请成功
|
|
183
|
-
NIMResCode[NIMResCode["kNIMResTeamApplySuccess"] = 808] = "kNIMResTeamApplySuccess";
|
|
184
|
-
/// 已经在群里
|
|
185
|
-
NIMResCode[NIMResCode["kNIMResTeamAlreadyIn"] = 809] = "kNIMResTeamAlreadyIn";
|
|
186
|
-
/// 邀请成功
|
|
187
|
-
NIMResCode[NIMResCode["kNIMResTeamInviteSuccess"] = 810] = "kNIMResTeamInviteSuccess";
|
|
188
|
-
/// 强推列表账号数量超限
|
|
189
|
-
NIMResCode[NIMResCode["kNIMResForcePushCountLimit"] = 811] = "kNIMResForcePushCountLimit";
|
|
190
|
-
/// 操作成功,但部分成员的群数量超限
|
|
191
|
-
NIMResCode[NIMResCode["kNIMResTeamMemberLimit"] = 813] = "kNIMResTeamMemberLimit";
|
|
192
|
-
/// 批量查询群信息部分成功
|
|
193
|
-
NIMResCode[NIMResCode["kNIMResTeamGetInfoListPartSuccess"] = 816] = "kNIMResTeamGetInfoListPartSuccess";
|
|
194
|
-
// 数据解编错误代码
|
|
195
|
-
/// 协议已失效
|
|
196
|
-
NIMResCode[NIMResCode["kNIMResInvalidProtocol"] = 997] = "kNIMResInvalidProtocol";
|
|
197
|
-
/// 解包错误
|
|
198
|
-
NIMResCode[NIMResCode["kNIMResEUnpacket"] = 998] = "kNIMResEUnpacket";
|
|
199
|
-
/// 打包错误
|
|
200
|
-
NIMResCode[NIMResCode["kNIMResEPacket"] = 999] = "kNIMResEPacket";
|
|
201
|
-
/// 被接收方加入黑名单 SDK版本大于2.5.0支持
|
|
202
|
-
NIMResCode[NIMResCode["kNIMResInBlack"] = 7101] = "kNIMResInBlack";
|
|
203
|
-
// 独立信令错误代码
|
|
204
|
-
/// 房间不存在
|
|
205
|
-
NIMResCode[NIMResCode["kNIMResRoomNotExists"] = 10404] = "kNIMResRoomNotExists";
|
|
206
|
-
/// 房间已存在
|
|
207
|
-
NIMResCode[NIMResCode["kNIMResRoomHasExists"] = 10405] = "kNIMResRoomHasExists";
|
|
208
|
-
/// 不在房间内
|
|
209
|
-
NIMResCode[NIMResCode["kNIMResRoomMemberNotExists"] = 10406] = "kNIMResRoomMemberNotExists";
|
|
210
|
-
/// 已经在房间内
|
|
211
|
-
NIMResCode[NIMResCode["kNIMResRoomMemberHasExists"] = 10407] = "kNIMResRoomMemberHasExists";
|
|
212
|
-
/// 邀请不存在或已过期
|
|
213
|
-
NIMResCode[NIMResCode["kNIMResRoomInviteNotExists"] = 10408] = "kNIMResRoomInviteNotExists";
|
|
214
|
-
/// 邀请已经拒绝
|
|
215
|
-
NIMResCode[NIMResCode["kNIMResRoomInviteHasReject"] = 10409] = "kNIMResRoomInviteHasReject";
|
|
216
|
-
/// 邀请已经接受了
|
|
217
|
-
NIMResCode[NIMResCode["kNIMResRoomInviteHasAccept"] = 10410] = "kNIMResRoomInviteHasAccept";
|
|
218
|
-
/// 对方云信不在线
|
|
219
|
-
NIMResCode[NIMResCode["kNIMResPeerNimOffline"] = 10201] = "kNIMResPeerNimOffline";
|
|
220
|
-
/// 对方推送亦不可达
|
|
221
|
-
NIMResCode[NIMResCode["kNIMResPeerPushOffline"] = 10202] = "kNIMResPeerPushOffline";
|
|
222
|
-
/// uid冲突
|
|
223
|
-
NIMResCode[NIMResCode["kNIMResRoomUidConflict"] = 10417] = "kNIMResRoomUidConflict";
|
|
224
|
-
/// 房间人数超限
|
|
225
|
-
NIMResCode[NIMResCode["kNIMResRoomMemberExceed"] = 10419] = "kNIMResRoomMemberExceed";
|
|
226
|
-
/// 已经在房间内(自己的其他端)
|
|
227
|
-
NIMResCode[NIMResCode["kNIMResRoomMemberHasExistsOtherClient"] = 10420] = "kNIMResRoomMemberHasExistsOtherClient";
|
|
228
|
-
// 客户端自定义的错误号
|
|
229
|
-
/// 值大于该错误号的都是客户端自定义的错误号。不能随意更改其值!
|
|
230
|
-
NIMResCode[NIMResCode["kNIMLocalRes"] = 10000] = "kNIMLocalRes";
|
|
231
|
-
/// 客户端本地错误号,需要重新向IM服务器获取进入聊天室权限
|
|
232
|
-
NIMResCode[NIMResCode["kNIMResRoomLocalNeedRequestAgain"] = 10001] = "kNIMResRoomLocalNeedRequestAgain";
|
|
233
|
-
/// 客户端本地错误号,本地网络错误,需要检查本地网络
|
|
234
|
-
NIMResCode[NIMResCode["kNIMLocalResNetworkError"] = 10010] = "kNIMLocalResNetworkError";
|
|
235
|
-
// 客户端自定义的消息错误号
|
|
236
|
-
/// (发送文件消息或者stop_upload_ex)HTTP upload to NOS上传暂停
|
|
237
|
-
NIMResCode[NIMResCode["kNIMLocalResMsgNosUploadCancel"] = 10200] = "kNIMLocalResMsgNosUploadCancel";
|
|
238
|
-
/// (收到文件消息或者stop_download_ex)HTTP download from NOS下载暂停
|
|
239
|
-
NIMResCode[NIMResCode["kNIMLocalResMsgNosDownloadCancel"] = 10206] = "kNIMLocalResMsgNosDownloadCancel";
|
|
240
|
-
/// 收到文件消息,NOS下载完成后本地文件检查错误,一般为下载的文件大小与文件信息不符
|
|
241
|
-
NIMResCode[NIMResCode["kNIMLocalResMsgNosDownloadCheckError"] = 10207] = "kNIMLocalResMsgNosDownloadCheckError";
|
|
242
|
-
/// 本地文件无访问权限
|
|
243
|
-
NIMResCode[NIMResCode["kNIMLocalResMsgAccessDenied"] = 10403] = "kNIMLocalResMsgAccessDenied";
|
|
244
|
-
/// 本地资源不存在
|
|
245
|
-
NIMResCode[NIMResCode["kNIMLocalResMsgFileNotExist"] = 10404] = "kNIMLocalResMsgFileNotExist";
|
|
246
|
-
///
|
|
247
|
-
NIMResCode[NIMResCode["kNIMLocalResParameterError"] = 10414] = "kNIMLocalResParameterError";
|
|
248
|
-
/// 本地错误码,操作太过频繁
|
|
249
|
-
NIMResCode[NIMResCode["kNIMLocalResFrequently"] = 10416] = "kNIMLocalResFrequently";
|
|
250
|
-
/// 本地错误码,对象已经存在/重复操作,(收到消息,本地资源已存在,不需要重复下载)
|
|
251
|
-
NIMResCode[NIMResCode["kNIMLocalResExist"] = 10417] = "kNIMLocalResExist";
|
|
252
|
-
/// 调用api,传入的参数有误
|
|
253
|
-
NIMResCode[NIMResCode["kNIMLocalResParaError"] = 10450] = "kNIMLocalResParaError";
|
|
254
|
-
/// 发送消息,上传NOS失败
|
|
255
|
-
NIMResCode[NIMResCode["kNIMLocalResMsgSendNosError"] = 10502] = "kNIMLocalResMsgSendNosError";
|
|
256
|
-
/// 本地错误码,超过配置有效期或者所需参数不存在
|
|
257
|
-
NIMResCode[NIMResCode["kNIMLocalResExceedLimit"] = 10508] = "kNIMLocalResExceedLimit";
|
|
258
|
-
/// 导入消息历史时验证身份和加密密钥不通过
|
|
259
|
-
NIMResCode[NIMResCode["kNIMLocalResCheckMsgDBFailed"] = 10600] = "kNIMLocalResCheckMsgDBFailed";
|
|
260
|
-
/// 导入消息历史时写记录失败
|
|
261
|
-
NIMResCode[NIMResCode["kNIMLocalResImportMsgDBFailed"] = 10601] = "kNIMLocalResImportMsgDBFailed";
|
|
262
|
-
/// 群成员尚同步完成
|
|
263
|
-
NIMResCode[NIMResCode["kNIMLocalResTMembersSyncUndone"] = 10602] = "kNIMLocalResTMembersSyncUndone";
|
|
264
|
-
// 客户端自定义的RTS错误号
|
|
265
|
-
/// rts会话 未知错误
|
|
266
|
-
NIMResCode[NIMResCode["kNIMLocalResRtsError"] = 11100] = "kNIMLocalResRtsError";
|
|
267
|
-
/// rts会话 id不存在
|
|
268
|
-
NIMResCode[NIMResCode["kNIMLocalResRtsIdNotExist"] = 11101] = "kNIMLocalResRtsIdNotExist";
|
|
269
|
-
/// rts会话 音视频已存在
|
|
270
|
-
NIMResCode[NIMResCode["kNIMLocalResRtsVChatExist"] = 11417] = "kNIMLocalResRtsVChatExist";
|
|
271
|
-
/// rts会话 通道状态不正确
|
|
272
|
-
NIMResCode[NIMResCode["kNIMLocalResRtsStatusError"] = 11501] = "kNIMLocalResRtsStatusError";
|
|
273
|
-
/// rts会话 通道不存在
|
|
274
|
-
NIMResCode[NIMResCode["kNIMLocalResRtsChannelNotExist"] = 11510] = "kNIMLocalResRtsChannelNotExist";
|
|
275
|
-
/// 主链接错误
|
|
276
|
-
NIMResCode[NIMResCode["kNIMResRoomLinkError"] = 13001] = "kNIMResRoomLinkError";
|
|
277
|
-
/// 聊天室状态异常
|
|
278
|
-
NIMResCode[NIMResCode["kNIMResRoomError"] = 13002] = "kNIMResRoomError";
|
|
279
|
-
/// 黑名单用户禁止进入
|
|
280
|
-
NIMResCode[NIMResCode["kNIMResRoomBlackBeOut"] = 13003] = "kNIMResRoomBlackBeOut";
|
|
281
|
-
/// 被禁言
|
|
282
|
-
NIMResCode[NIMResCode["kNIMResRoomBeMuted"] = 13004] = "kNIMResRoomBeMuted";
|
|
283
|
-
/// 聊天室处于整体禁言状态,只有管理员能发言
|
|
284
|
-
NIMResCode[NIMResCode["kNIMResRoomAllMuted"] = 13006] = "kNIMResRoomAllMuted";
|
|
285
|
-
// 客户端自定义的api调用问题
|
|
286
|
-
/// 还未初始化或初始化未正常完成
|
|
287
|
-
NIMResCode[NIMResCode["kNIMLocalResAPIErrorInitUndone"] = 20000] = "kNIMLocalResAPIErrorInitUndone";
|
|
288
|
-
/// 还未登陆或登录未完成
|
|
289
|
-
NIMResCode[NIMResCode["kNIMLocalResAPIErrorLoginUndone"] = 20001] = "kNIMLocalResAPIErrorLoginUndone";
|
|
290
|
-
/// 已经登录
|
|
291
|
-
NIMResCode[NIMResCode["kNIMLocalResAPIErrorLogined"] = 20002] = "kNIMLocalResAPIErrorLogined";
|
|
292
|
-
/// SDK版本不对,可能会引发其他问题
|
|
293
|
-
NIMResCode[NIMResCode["kNIMLocalResAPIErrorVersionError"] = 20003] = "kNIMLocalResAPIErrorVersionError";
|
|
294
|
-
/// 聊天室模式混用错误,不支持同时以登陆状态和匿名状态登陆聊天室
|
|
295
|
-
NIMResCode[NIMResCode["kNIMLocalResAPIErrorChatroomMixError"] = 20005] = "kNIMLocalResAPIErrorChatroomMixError";
|
|
296
|
-
/// 登录失败,超过重试次数
|
|
297
|
-
NIMResCode[NIMResCode["kNIMLocalResAPIErrorLoginExceedRetryCount"] = 20006] = "kNIMLocalResAPIErrorLoginExceedRetryCount";
|
|
298
|
-
/// 连接地址用完了
|
|
299
|
-
NIMResCode[NIMResCode["kNIMLocalResAPIErrorRunOutOfLinkAddress"] = 20007] = "kNIMLocalResAPIErrorRunOutOfLinkAddress";
|
|
300
|
-
})(NIMResCode = exports.NIMResCode || (exports.NIMResCode = {}));
|
|
301
|
-
var NIMQChatPermissions;
|
|
302
|
-
(function (NIMQChatPermissions) {
|
|
303
|
-
/** 管理服务器,Server */
|
|
304
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionManageServer"] = 1] = "kPermissionManageServer";
|
|
305
|
-
/** 管理频道,Server/Channel */
|
|
306
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionManageChannel"] = 2] = "kPermissionManageChannel";
|
|
307
|
-
/** 管理角色,Server/Channel */
|
|
308
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionManageRole"] = 3] = "kPermissionManageRole";
|
|
309
|
-
/** 发送消息,Server/Channel */
|
|
310
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionSendMessage"] = 4] = "kPermissionSendMessage";
|
|
311
|
-
/** 修改自己信息,Server */
|
|
312
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionUpdateMyInfo"] = 5] = "kPermissionUpdateMyInfo";
|
|
313
|
-
/** 邀请他人,Server */
|
|
314
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionIviteMember"] = 6] = "kPermissionIviteMember";
|
|
315
|
-
/** 踢除他人,Server */
|
|
316
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionKickMember"] = 7] = "kPermissionKickMember";
|
|
317
|
-
/** 修改他人信息,Server */
|
|
318
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionUpdateMemberInfo"] = 8] = "kPermissionUpdateMemberInfo";
|
|
319
|
-
/** 撤回他人信息,Server/Channel */
|
|
320
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionRevokeMemberMessage"] = 9] = "kPermissionRevokeMemberMessage";
|
|
321
|
-
/** 删除他人消息,Server/Channel */
|
|
322
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionDeleteMemberMessage"] = 10] = "kPermissionDeleteMemberMessage";
|
|
323
|
-
/** @ 他人,Server/Channel */
|
|
324
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionAtMember"] = 11] = "kPermissionAtMember";
|
|
325
|
-
/** @ 所有人,Server/Channel */
|
|
326
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionAtAll"] = 12] = "kPermissionAtAll";
|
|
327
|
-
/** 管理白/黑名单,Server/Channel */
|
|
328
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionManageBlackWhiteList"] = 13] = "kPermissionManageBlackWhiteList";
|
|
329
|
-
/** 封禁他人,Server */
|
|
330
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionBanServerMember"] = 14] = "kPermissionBanServerMember";
|
|
331
|
-
/** RTC频道: 连接的权限,Server/Channel */
|
|
332
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCConnect"] = 15] = "kPermissionRTCConnect";
|
|
333
|
-
/** RTC频道: 断开他人连接的权限,Server/Channel */
|
|
334
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCDisconnectOther"] = 16] = "kPermissionRTCDisconnectOther";
|
|
335
|
-
/** RTC频道: 开启自己麦克风的权限,Server/Channel */
|
|
336
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCOpenMic"] = 17] = "kPermissionRTCOpenMic";
|
|
337
|
-
/** RTC频道: 开启自己摄像头的权限,Server/Channel */
|
|
338
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCOpenCamera"] = 18] = "kPermissionRTCOpenCamera";
|
|
339
|
-
/** RTC频道: 禁用/解禁他人麦克风的权限,Server/Channel */
|
|
340
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCOpenMuteOthersMic"] = 19] = "kPermissionRTCOpenMuteOthersMic";
|
|
341
|
-
/** RTC频道: 禁用/解禁他人摄像头的权限,Server/Channel */
|
|
342
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCOpenMuteOthersCamera"] = 20] = "kPermissionRTCOpenMuteOthersCamera";
|
|
343
|
-
/** RTC频道: 禁用/解禁全员麦克风的权限,Server/Channel */
|
|
344
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCOpenMuteAllMic"] = 21] = "kPermissionRTCOpenMuteAllMic";
|
|
345
|
-
/** RTC频道: 禁用/解禁全员摄像头的权限,Server/Channel */
|
|
346
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCOpenMuteAllCamera"] = 22] = "kPermissionRTCOpenMuteAllCamera";
|
|
347
|
-
/** RTC频道: 打开自己共享屏幕的权限,Server/Channel */
|
|
348
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCOpenScreenShare"] = 23] = "kPermissionRTCOpenScreenShare";
|
|
349
|
-
/** RTC频道: 关闭他人共享屏幕的权限,Server/Channel */
|
|
350
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCCloseOthersScreenShare"] = 24] = "kPermissionRTCCloseOthersScreenShare";
|
|
351
|
-
/** 服务器申请处理权限,Server */
|
|
352
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionServerHandleApply"] = 25] = "kPermissionServerHandleApply";
|
|
353
|
-
/** 申请邀请历史查看权限,有这个权限才可以查询server级别的申请/邀请记录,Server */
|
|
354
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionGetServerInviteApplyRecords"] = 26] = "kPermissionGetServerInviteApplyRecords";
|
|
355
|
-
/** @ 身份组的权限,Server/Channel */
|
|
356
|
-
NIMQChatPermissions[NIMQChatPermissions["kPermissionMentionRole"] = 27] = "kPermissionMentionRole";
|
|
357
|
-
})(NIMQChatPermissions = exports.NIMQChatPermissions || (exports.NIMQChatPermissions = {}));
|
|
358
|
-
var NIMQChatRoleType;
|
|
359
|
-
(function (NIMQChatRoleType) {
|
|
360
|
-
/** 未知 */
|
|
361
|
-
NIMQChatRoleType[NIMQChatRoleType["kRoleTypeUnkonwn"] = 0] = "kRoleTypeUnkonwn";
|
|
362
|
-
/** 默认 Everyone 身份组 */
|
|
363
|
-
NIMQChatRoleType[NIMQChatRoleType["kRoleTypeEveryone"] = 1] = "kRoleTypeEveryone";
|
|
364
|
-
/** 自定义身份组 */
|
|
365
|
-
NIMQChatRoleType[NIMQChatRoleType["kRoleTypeCustom"] = 2] = "kRoleTypeCustom";
|
|
366
|
-
})(NIMQChatRoleType = exports.NIMQChatRoleType || (exports.NIMQChatRoleType = {}));
|
|
367
|
-
var NIMQChatPermissionsOption;
|
|
368
|
-
(function (NIMQChatPermissionsOption) {
|
|
369
|
-
/** 拒绝 */
|
|
370
|
-
NIMQChatPermissionsOption[NIMQChatPermissionsOption["kPermissionSwitchDeny"] = -1] = "kPermissionSwitchDeny";
|
|
371
|
-
/** 继承 */
|
|
372
|
-
NIMQChatPermissionsOption[NIMQChatPermissionsOption["kPermissionSwitchExtend"] = 0] = "kPermissionSwitchExtend";
|
|
373
|
-
/** 允许 */
|
|
374
|
-
NIMQChatPermissionsOption[NIMQChatPermissionsOption["kPermissionSwitchAllow"] = 1] = "kPermissionSwitchAllow";
|
|
375
|
-
})(NIMQChatPermissionsOption = exports.NIMQChatPermissionsOption || (exports.NIMQChatPermissionsOption = {}));
|
|
376
|
-
var NIMQChatLoginAuthType;
|
|
377
|
-
(function (NIMQChatLoginAuthType) {
|
|
378
|
-
/** 默认login token鉴权方式 */
|
|
379
|
-
NIMQChatLoginAuthType[NIMQChatLoginAuthType["kNIMQChatLoginAuthTypeDefault"] = 0] = "kNIMQChatLoginAuthTypeDefault";
|
|
380
|
-
/** app secret鉴权方式 */
|
|
381
|
-
NIMQChatLoginAuthType[NIMQChatLoginAuthType["kNIMQChatLoginAuthTypeAppSecret"] = 1] = "kNIMQChatLoginAuthTypeAppSecret";
|
|
382
|
-
/** 基于第三方回调的token鉴权方式, 圈组暂不支持 */
|
|
383
|
-
NIMQChatLoginAuthType[NIMQChatLoginAuthType["kNIMQChatLoginAuthTypeAppThirdParty"] = 2] = "kNIMQChatLoginAuthTypeAppThirdParty";
|
|
384
|
-
})(NIMQChatLoginAuthType = exports.NIMQChatLoginAuthType || (exports.NIMQChatLoginAuthType = {}));
|
|
385
|
-
var NIMQChatClientType;
|
|
386
|
-
(function (NIMQChatClientType) {
|
|
387
|
-
NIMQChatClientType[NIMQChatClientType["kQChatClientTypeUnknown"] = 0] = "kQChatClientTypeUnknown";
|
|
388
|
-
/** Android */
|
|
389
|
-
NIMQChatClientType[NIMQChatClientType["kQChatClientTypeAOS"] = 1] = "kQChatClientTypeAOS";
|
|
390
|
-
/** iOS */
|
|
391
|
-
NIMQChatClientType[NIMQChatClientType["kQChatClientTypeIOS"] = 2] = "kQChatClientTypeIOS";
|
|
392
|
-
/** Desktop PC (Windows/macOS/Linux) */
|
|
393
|
-
NIMQChatClientType[NIMQChatClientType["kQChatClientTypePC"] = 4] = "kQChatClientTypePC";
|
|
394
|
-
/** WP */
|
|
395
|
-
NIMQChatClientType[NIMQChatClientType["kQChatClientTypeWP"] = 8] = "kQChatClientTypeWP";
|
|
396
|
-
/** Web */
|
|
397
|
-
NIMQChatClientType[NIMQChatClientType["kQChatClientTypeWeb"] = 16] = "kQChatClientTypeWeb";
|
|
398
|
-
/** macOS */
|
|
399
|
-
NIMQChatClientType[NIMQChatClientType["kQChatClientTypeMacOS"] = 64] = "kQChatClientTypeMacOS";
|
|
400
|
-
})(NIMQChatClientType = exports.NIMQChatClientType || (exports.NIMQChatClientType = {}));
|
|
401
|
-
var NIMQChatLoginStep;
|
|
402
|
-
(function (NIMQChatLoginStep) {
|
|
403
|
-
/** 连接 Link 地址阶段 */
|
|
404
|
-
NIMQChatLoginStep[NIMQChatLoginStep["kLoginStepLink"] = 0] = "kLoginStepLink";
|
|
405
|
-
NIMQChatLoginStep[NIMQChatLoginStep["kLoginStepAuth"] = 1] = "kLoginStepAuth"; // 认证阶段
|
|
406
|
-
})(NIMQChatLoginStep = exports.NIMQChatLoginStep || (exports.NIMQChatLoginStep = {}));
|
|
407
|
-
var NIMQChatLoginStatus;
|
|
408
|
-
(function (NIMQChatLoginStatus) {
|
|
409
|
-
NIMQChatLoginStatus[NIMQChatLoginStatus["kLoginStatusUnlogin"] = 0] = "kLoginStatusUnlogin";
|
|
410
|
-
NIMQChatLoginStatus[NIMQChatLoginStatus["kLoginStatusLogging"] = 1] = "kLoginStatusLogging";
|
|
411
|
-
NIMQChatLoginStatus[NIMQChatLoginStatus["kLoginStatusLogin"] = 2] = "kLoginStatusLogin";
|
|
412
|
-
NIMQChatLoginStatus[NIMQChatLoginStatus["kLoginStatusKicked"] = 3] = "kLoginStatusKicked";
|
|
413
|
-
})(NIMQChatLoginStatus = exports.NIMQChatLoginStatus || (exports.NIMQChatLoginStatus = {}));
|
|
414
|
-
var NIMQChatExchangeKeyEncryptionAlgorithm;
|
|
415
|
-
(function (NIMQChatExchangeKeyEncryptionAlgorithm) {
|
|
416
|
-
/** RSA 加密 */
|
|
417
|
-
NIMQChatExchangeKeyEncryptionAlgorithm[NIMQChatExchangeKeyEncryptionAlgorithm["kNIMQChatEncryptionAlgorithmRSA"] = 1] = "kNIMQChatEncryptionAlgorithmRSA";
|
|
418
|
-
/** SM2 加密 */
|
|
419
|
-
NIMQChatExchangeKeyEncryptionAlgorithm[NIMQChatExchangeKeyEncryptionAlgorithm["kNIMQChatEncryptionAlgorithmSM2"] = 2] = "kNIMQChatEncryptionAlgorithmSM2";
|
|
420
|
-
})(NIMQChatExchangeKeyEncryptionAlgorithm = exports.NIMQChatExchangeKeyEncryptionAlgorithm || (exports.NIMQChatExchangeKeyEncryptionAlgorithm = {}));
|
|
421
|
-
var NIMQChatCommEncryptionAlgorithm;
|
|
422
|
-
(function (NIMQChatCommEncryptionAlgorithm) {
|
|
423
|
-
NIMQChatCommEncryptionAlgorithm[NIMQChatCommEncryptionAlgorithm["kNIMQChatCommEncryptionAlgorithmBase"] = 1] = "kNIMQChatCommEncryptionAlgorithmBase";
|
|
424
|
-
/** RC4 加密 */
|
|
425
|
-
NIMQChatCommEncryptionAlgorithm[NIMQChatCommEncryptionAlgorithm["kNIMQChatCommEncryptionAlgorithmRC4"] = 1] = "kNIMQChatCommEncryptionAlgorithmRC4";
|
|
426
|
-
/** AES128 加密 */
|
|
427
|
-
NIMQChatCommEncryptionAlgorithm[NIMQChatCommEncryptionAlgorithm["kNIMQChatCommEncryptionAlgorithmAES128"] = 2] = "kNIMQChatCommEncryptionAlgorithmAES128";
|
|
428
|
-
NIMQChatCommEncryptionAlgorithm[NIMQChatCommEncryptionAlgorithm["kNIMQChatCommEncryptionAlgorithmSM4"] = 4] = "kNIMQChatCommEncryptionAlgorithmSM4"; // SM4 加密
|
|
429
|
-
})(NIMQChatCommEncryptionAlgorithm = exports.NIMQChatCommEncryptionAlgorithm || (exports.NIMQChatCommEncryptionAlgorithm = {}));
|
|
430
|
-
var NIMQChatHandShakeType;
|
|
431
|
-
(function (NIMQChatHandShakeType) {
|
|
432
|
-
/** 支持配置多种对称与非对称加密算法 */
|
|
433
|
-
NIMQChatHandShakeType[NIMQChatHandShakeType["kNIMQChatHandShakeTypeMulti"] = 0] = "kNIMQChatHandShakeTypeMulti";
|
|
434
|
-
NIMQChatHandShakeType[NIMQChatHandShakeType["kNIMQChatHandShakeTypeRASRC4"] = 1] = "kNIMQChatHandShakeTypeRASRC4"; // 支持RAS + RC4
|
|
435
|
-
})(NIMQChatHandShakeType = exports.NIMQChatHandShakeType || (exports.NIMQChatHandShakeType = {}));
|
|
436
|
-
var NIMQChatFCSAuthenticationType;
|
|
437
|
-
(function (NIMQChatFCSAuthenticationType) {
|
|
438
|
-
NIMQChatFCSAuthenticationType[NIMQChatFCSAuthenticationType["kNIMQChatFCSAuthenticationTypeRefer"] = 1] = "kNIMQChatFCSAuthenticationTypeRefer";
|
|
439
|
-
NIMQChatFCSAuthenticationType[NIMQChatFCSAuthenticationType["kNIMQChatFCSAuthenticationTypeToken"] = 2] = "kNIMQChatFCSAuthenticationTypeToken";
|
|
440
|
-
NIMQChatFCSAuthenticationType[NIMQChatFCSAuthenticationType["kNIMQChatFCSAuthenticationTypeURLToken"] = 3] = "kNIMQChatFCSAuthenticationTypeURLToken";
|
|
441
|
-
NIMQChatFCSAuthenticationType[NIMQChatFCSAuthenticationType["kNIMQChatFCSAuthenticationTypeCustom"] = 4] = "kNIMQChatFCSAuthenticationTypeCustom";
|
|
442
|
-
})(NIMQChatFCSAuthenticationType = exports.NIMQChatFCSAuthenticationType || (exports.NIMQChatFCSAuthenticationType = {}));
|
|
443
|
-
var NIMQChatMessageStatus;
|
|
444
|
-
(function (NIMQChatMessageStatus) {
|
|
445
|
-
/** 普通消息状态 */
|
|
446
|
-
NIMQChatMessageStatus[NIMQChatMessageStatus["kMsgStatusNormal"] = 0] = "kMsgStatusNormal";
|
|
447
|
-
/** 被撤回的消息 */
|
|
448
|
-
NIMQChatMessageStatus[NIMQChatMessageStatus["kMsgStatusRevoke"] = 1] = "kMsgStatusRevoke";
|
|
449
|
-
/** 被删除的消息 */
|
|
450
|
-
NIMQChatMessageStatus[NIMQChatMessageStatus["kMsgStatusDelete"] = 2] = "kMsgStatusDelete";
|
|
451
|
-
NIMQChatMessageStatus[NIMQChatMessageStatus["kMsgStatusUser"] = 10000] = "kMsgStatusUser"; // 大于10000为用户自定义状态
|
|
452
|
-
})(NIMQChatMessageStatus = exports.NIMQChatMessageStatus || (exports.NIMQChatMessageStatus = {}));
|
|
453
|
-
var NIMQChatMessageNotifyReason;
|
|
454
|
-
(function (NIMQChatMessageNotifyReason) {
|
|
455
|
-
/** 未知原因 */
|
|
456
|
-
NIMQChatMessageNotifyReason[NIMQChatMessageNotifyReason["kMessageNotifyReasonUnkonw"] = 0] = "kMessageNotifyReasonUnkonw";
|
|
457
|
-
/** 本消息发给了channel里的所有人 */
|
|
458
|
-
NIMQChatMessageNotifyReason[NIMQChatMessageNotifyReason["kMessageNotifyReasonNotifyAll"] = 1] = "kMessageNotifyReasonNotifyAll";
|
|
459
|
-
/** 本消息发给了channel里的订阅者 */
|
|
460
|
-
NIMQChatMessageNotifyReason[NIMQChatMessageNotifyReason["kMessageNotifyReasonNotifySubscribe"] = 2] = "kMessageNotifyReasonNotifySubscribe";
|
|
461
|
-
})(NIMQChatMessageNotifyReason = exports.NIMQChatMessageNotifyReason || (exports.NIMQChatMessageNotifyReason = {}));
|
|
462
|
-
var NIMQChatMsgType;
|
|
463
|
-
(function (NIMQChatMsgType) {
|
|
464
|
-
/** 文本类型消息 */
|
|
465
|
-
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeText"] = 0] = "kNIMQChatMsgTypeText";
|
|
466
|
-
/** 图片类型消息 */
|
|
467
|
-
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeImage"] = 1] = "kNIMQChatMsgTypeImage";
|
|
468
|
-
/** 声音类型消息 */
|
|
469
|
-
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeAudio"] = 2] = "kNIMQChatMsgTypeAudio";
|
|
470
|
-
/** 视频类型消息 */
|
|
471
|
-
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeVideo"] = 3] = "kNIMQChatMsgTypeVideo";
|
|
472
|
-
/** 位置类型消息 */
|
|
473
|
-
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeLocation"] = 4] = "kNIMQChatMsgTypeLocation";
|
|
474
|
-
/** 通知类型消息 */
|
|
475
|
-
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeNotification"] = 5] = "kNIMQChatMsgTypeNotification";
|
|
476
|
-
/** 文件类型消息 */
|
|
477
|
-
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeFile"] = 6] = "kNIMQChatMsgTypeFile";
|
|
478
|
-
/** 提醒类型消息 */
|
|
479
|
-
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeTips"] = 10] = "kNIMQChatMsgTypeTips";
|
|
480
|
-
/** 自定义消息 */
|
|
481
|
-
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeCustom"] = 100] = "kNIMQChatMsgTypeCustom";
|
|
482
|
-
/** 未知类型消息,作为默认值 */
|
|
483
|
-
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeUnknown"] = 1000] = "kNIMQChatMsgTypeUnknown";
|
|
484
|
-
})(NIMQChatMsgType = exports.NIMQChatMsgType || (exports.NIMQChatMsgType = {}));
|
|
485
|
-
var NIMQChatQuickCommentOperation;
|
|
486
|
-
(function (NIMQChatQuickCommentOperation) {
|
|
487
|
-
/** 添加 */
|
|
488
|
-
NIMQChatQuickCommentOperation[NIMQChatQuickCommentOperation["kNIMQChatQuickCommentAdd"] = 1] = "kNIMQChatQuickCommentAdd";
|
|
489
|
-
/** 删除 */
|
|
490
|
-
NIMQChatQuickCommentOperation[NIMQChatQuickCommentOperation["kNIMQChatQuickCommentRemove"] = 2] = "kNIMQChatQuickCommentRemove";
|
|
491
|
-
})(NIMQChatQuickCommentOperation = exports.NIMQChatQuickCommentOperation || (exports.NIMQChatQuickCommentOperation = {}));
|
|
492
|
-
var NIMQChatGetReferMessageType;
|
|
493
|
-
(function (NIMQChatGetReferMessageType) {
|
|
494
|
-
/** 获取被回复的消息 */
|
|
495
|
-
NIMQChatGetReferMessageType[NIMQChatGetReferMessageType["kNIMQChatGetReferMessageTypeReply"] = 1] = "kNIMQChatGetReferMessageTypeReply";
|
|
496
|
-
/** 获取 thread 根消息 */
|
|
497
|
-
NIMQChatGetReferMessageType[NIMQChatGetReferMessageType["kNIMQChatGetReferMessageTypeThreadRoot"] = 2] = "kNIMQChatGetReferMessageTypeThreadRoot";
|
|
498
|
-
/** 获取以上两个条件的消息 */
|
|
499
|
-
NIMQChatGetReferMessageType[NIMQChatGetReferMessageType["kNIMQChatGetReferMessageTypeAll"] = 3] = "kNIMQChatGetReferMessageTypeAll";
|
|
500
|
-
})(NIMQChatGetReferMessageType = exports.NIMQChatGetReferMessageType || (exports.NIMQChatGetReferMessageType = {}));
|
|
501
|
-
var NIMQChatServerInviteMode;
|
|
502
|
-
(function (NIMQChatServerInviteMode) {
|
|
503
|
-
/** 需要验证 */
|
|
504
|
-
NIMQChatServerInviteMode[NIMQChatServerInviteMode["kNIMQChatServerInviteModeNeedConfirm"] = 0] = "kNIMQChatServerInviteModeNeedConfirm";
|
|
505
|
-
NIMQChatServerInviteMode[NIMQChatServerInviteMode["kNIMQChatServerInviteModeNormal"] = 1] = "kNIMQChatServerInviteModeNormal"; // 不需要验证
|
|
506
|
-
})(NIMQChatServerInviteMode = exports.NIMQChatServerInviteMode || (exports.NIMQChatServerInviteMode = {}));
|
|
507
|
-
var NIMQChatServerApplyMode;
|
|
508
|
-
(function (NIMQChatServerApplyMode) {
|
|
509
|
-
/** 不需要验证 */
|
|
510
|
-
NIMQChatServerApplyMode[NIMQChatServerApplyMode["kNIMQChatServerApplyModeNormal"] = 0] = "kNIMQChatServerApplyModeNormal";
|
|
511
|
-
/** 需要验证 */
|
|
512
|
-
NIMQChatServerApplyMode[NIMQChatServerApplyMode["kNIMQChatServerApplyModeNeedConfirm"] = 1] = "kNIMQChatServerApplyModeNeedConfirm";
|
|
513
|
-
})(NIMQChatServerApplyMode = exports.NIMQChatServerApplyMode || (exports.NIMQChatServerApplyMode = {}));
|
|
514
|
-
var NIMQChatServerInviteFailReason;
|
|
515
|
-
(function (NIMQChatServerInviteFailReason) {
|
|
516
|
-
/** 服务器人数超过限制 */
|
|
517
|
-
NIMQChatServerInviteFailReason[NIMQChatServerInviteFailReason["kNIMQChatServerInviteFailReasonExceedLimit"] = 1] = "kNIMQChatServerInviteFailReasonExceedLimit";
|
|
518
|
-
/** 被封禁 */
|
|
519
|
-
NIMQChatServerInviteFailReason[NIMQChatServerInviteFailReason["kNIMQChatServerInviteFailReasonBanned"] = 2] = "kNIMQChatServerInviteFailReasonBanned";
|
|
520
|
-
})(NIMQChatServerInviteFailReason = exports.NIMQChatServerInviteFailReason || (exports.NIMQChatServerInviteFailReason = {}));
|
|
521
|
-
var NIMQChatServerSearchType;
|
|
522
|
-
(function (NIMQChatServerSearchType) {
|
|
523
|
-
/** 广场搜索 */
|
|
524
|
-
NIMQChatServerSearchType[NIMQChatServerSearchType["kNIMQChatServerSearchTypeSquare"] = 1] = "kNIMQChatServerSearchTypeSquare";
|
|
525
|
-
/** 个人服务器搜索 */
|
|
526
|
-
NIMQChatServerSearchType[NIMQChatServerSearchType["kNIMQChatServerSearchTypePersonal"] = 2] = "kNIMQChatServerSearchTypePersonal";
|
|
527
|
-
})(NIMQChatServerSearchType = exports.NIMQChatServerSearchType || (exports.NIMQChatServerSearchType = {}));
|
|
528
|
-
var NIMQChatInviteApplyRecordType;
|
|
529
|
-
(function (NIMQChatInviteApplyRecordType) {
|
|
530
|
-
/** 申请 */
|
|
531
|
-
NIMQChatInviteApplyRecordType[NIMQChatInviteApplyRecordType["kNIMQChatInviteApplyRecordTypeApply"] = 1] = "kNIMQChatInviteApplyRecordTypeApply";
|
|
532
|
-
/** 邀请 */
|
|
533
|
-
NIMQChatInviteApplyRecordType[NIMQChatInviteApplyRecordType["kNIMQChatInviteApplyRecordTypeInvite"] = 2] = "kNIMQChatInviteApplyRecordTypeInvite";
|
|
534
|
-
/** 被邀请 */
|
|
535
|
-
NIMQChatInviteApplyRecordType[NIMQChatInviteApplyRecordType["kNIMQChatInviteApplyRecordTypeBeInvited"] = 3] = "kNIMQChatInviteApplyRecordTypeBeInvited";
|
|
536
|
-
/** 生成邀请码 */
|
|
537
|
-
NIMQChatInviteApplyRecordType[NIMQChatInviteApplyRecordType["kNIMQChatInviteApplyRecordTypeGenerateInviteCode"] = 4] = "kNIMQChatInviteApplyRecordTypeGenerateInviteCode";
|
|
538
|
-
/** 通过邀请码加入 */
|
|
539
|
-
NIMQChatInviteApplyRecordType[NIMQChatInviteApplyRecordType["kNIMQChatInviteApplyRecordTypeJoinByInviteCode"] = 5] = "kNIMQChatInviteApplyRecordTypeJoinByInviteCode";
|
|
540
|
-
})(NIMQChatInviteApplyRecordType = exports.NIMQChatInviteApplyRecordType || (exports.NIMQChatInviteApplyRecordType = {}));
|
|
541
|
-
var NIMQChatInviteApplyRecordStatus;
|
|
542
|
-
(function (NIMQChatInviteApplyRecordStatus) {
|
|
543
|
-
/** 初始状态 */
|
|
544
|
-
NIMQChatInviteApplyRecordStatus[NIMQChatInviteApplyRecordStatus["kNIMQChatInviteApplyRecordStatusInitial"] = 0] = "kNIMQChatInviteApplyRecordStatusInitial";
|
|
545
|
-
/** 同意 */
|
|
546
|
-
NIMQChatInviteApplyRecordStatus[NIMQChatInviteApplyRecordStatus["kNIMQChatInviteApplyRecordStatusApprove"] = 1] = "kNIMQChatInviteApplyRecordStatusApprove";
|
|
547
|
-
/** 拒绝 */
|
|
548
|
-
NIMQChatInviteApplyRecordStatus[NIMQChatInviteApplyRecordStatus["kNIMQChatInviteApplyRecordStatusReject"] = 2] = "kNIMQChatInviteApplyRecordStatusReject";
|
|
549
|
-
/** 通过其他请求同意 */
|
|
550
|
-
NIMQChatInviteApplyRecordStatus[NIMQChatInviteApplyRecordStatus["kNIMQChatInviteApplyRecordStatusApproveByOtherRequest"] = 3] = "kNIMQChatInviteApplyRecordStatusApproveByOtherRequest";
|
|
551
|
-
/** 通过其他请求拒绝 */
|
|
552
|
-
NIMQChatInviteApplyRecordStatus[NIMQChatInviteApplyRecordStatus["kNIMQChatInviteApplyRecordStatusRejectByOtherRequest"] = 4] = "kNIMQChatInviteApplyRecordStatusRejectByOtherRequest";
|
|
553
|
-
/** 邀请/申请时自动加入 */
|
|
554
|
-
NIMQChatInviteApplyRecordStatus[NIMQChatInviteApplyRecordStatus["kNIMQChatInviteApplyRecordStatusAutoJoin"] = 5] = "kNIMQChatInviteApplyRecordStatusAutoJoin";
|
|
555
|
-
/** 过期 */
|
|
556
|
-
NIMQChatInviteApplyRecordStatus[NIMQChatInviteApplyRecordStatus["kNIMQChatInviteApplyRecordStatusExpired"] = 6] = "kNIMQChatInviteApplyRecordStatusExpired";
|
|
557
|
-
})(NIMQChatInviteApplyRecordStatus = exports.NIMQChatInviteApplyRecordStatus || (exports.NIMQChatInviteApplyRecordStatus = {}));
|
|
558
|
-
var NIMQChatSystemNotificationToType;
|
|
559
|
-
(function (NIMQChatSystemNotificationToType) {
|
|
560
|
-
NIMQChatSystemNotificationToType[NIMQChatSystemNotificationToType["kNIMQChatSystemNotificationToTypeUnknown"] = 0] = "kNIMQChatSystemNotificationToTypeUnknown"; /**< 默认值,需要由用户修改,否则报错 10414 参数错误 */
|
|
561
|
-
NIMQChatSystemNotificationToType[NIMQChatSystemNotificationToType["kNIMQChatSystemNotificationToTypeServer"] = 1] = "kNIMQChatSystemNotificationToTypeServer"; /**< 发送到 Server,server_id 必填 */
|
|
562
|
-
NIMQChatSystemNotificationToType[NIMQChatSystemNotificationToType["kNIMQChatSystemNotificationToTypeChannel"] = 2] = "kNIMQChatSystemNotificationToTypeChannel"; /**< 发送到 Channel,server_id 和 channel_id 必填 */
|
|
563
|
-
NIMQChatSystemNotificationToType[NIMQChatSystemNotificationToType["kNIMQChatSystemNotificationToTypeServerAccids"] = 3] = "kNIMQChatSystemNotificationToTypeServerAccids"; /**< 发送到 Server 中的指定用户,server_id 和 to_accids 必填 */
|
|
564
|
-
NIMQChatSystemNotificationToType[NIMQChatSystemNotificationToType["kNIMQChatSystemNotificationToTypeChannelAccids"] = 4] = "kNIMQChatSystemNotificationToTypeChannelAccids"; /**<发送到 Channel 中的指定用户,server_id、channel_id 和 to_accids 必填 */
|
|
565
|
-
NIMQChatSystemNotificationToType[NIMQChatSystemNotificationToType["kNIMQChatSystemNotificationToTypeAccids"] = 5] = "kNIMQChatSystemNotificationToTypeAccids"; /**< 发送给指定用户,to_accids 必填 */
|
|
566
|
-
})(NIMQChatSystemNotificationToType = exports.NIMQChatSystemNotificationToType || (exports.NIMQChatSystemNotificationToType = {}));
|
|
567
|
-
var NIMQChatSystemNotificationType;
|
|
568
|
-
(function (NIMQChatSystemNotificationType) {
|
|
569
|
-
/** 未知类型系统通知 */
|
|
570
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeUnkonwn"] = 0] = "kNIMQChatSystemNotificationTypeUnkonwn";
|
|
571
|
-
/** 服务器成员邀请 msg_data: NULL */
|
|
572
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberInvite"] = 1] = "kNIMQChatSystemNotificationTypeMemberInvite";
|
|
573
|
-
/** 服务器成员邀请被拒绝 msg_data: NULL */
|
|
574
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberInviteReject"] = 2] = "kNIMQChatSystemNotificationTypeMemberInviteReject";
|
|
575
|
-
/** 服务器成员申请 msg_data: NULL */
|
|
576
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberApply"] = 3] = "kNIMQChatSystemNotificationTypeMemberApply";
|
|
577
|
-
/** 服务器成员申请被拒绝 msg_data: NULL */
|
|
578
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberApplyReject"] = 4] = "kNIMQChatSystemNotificationTypeMemberApplyReject";
|
|
579
|
-
/** 服务器创建 msg_data: NIMQChatSystemNotificationDataServerCreate */
|
|
580
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerCreate"] = 5] = "kNIMQChatSystemNotificationTypeServerCreate";
|
|
581
|
-
/** 服务器解散 msg_data: NULL */
|
|
582
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerRemove"] = 6] = "kNIMQChatSystemNotificationTypeServerRemove";
|
|
583
|
-
/** 服务器更新 msg_data: NIMQChatSystemNotificationDataServerUpdate */
|
|
584
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerUpdate"] = 7] = "kNIMQChatSystemNotificationTypeServerUpdate";
|
|
585
|
-
/** 服务器成员邀请完成 msg_data: NIMQChatSystemNotificationDataMemberInviteDone */
|
|
586
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberInviteDone"] = 8] = "kNIMQChatSystemNotificationTypeMemberInviteDone";
|
|
587
|
-
/** 服务器成员邀请被接受 msg_data: NIMQChatSystemNotificationDataMemberInviteAccept */
|
|
588
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberInviteAccept"] = 9] = "kNIMQChatSystemNotificationTypeMemberInviteAccept";
|
|
589
|
-
/** 服务器成员申请完成 msg_data: NIMQChatSystemNotificationDataMemberApplyDone */
|
|
590
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberApplyDone"] = 10] = "kNIMQChatSystemNotificationTypeMemberApplyDone";
|
|
591
|
-
/** 服务器成员申请被接受 msg_data: NIMQChatSystemNotificationDataMemberApplyAccept */
|
|
592
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberApplyAccept"] = 11] = "kNIMQChatSystemNotificationTypeMemberApplyAccept";
|
|
593
|
-
/** 服务器成员被踢出 msg_data: NIMQChatSystemNotificationDataMemberKick */
|
|
594
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberKick"] = 12] = "kNIMQChatSystemNotificationTypeMemberKick";
|
|
595
|
-
/** 服务器成员离开 msg_data: NIMQChatSystemNotificationDataMemberLeave */
|
|
596
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberLeave"] = 13] = "kNIMQChatSystemNotificationTypeMemberLeave";
|
|
597
|
-
/** 服务器成员更新 msg_data: NIMQChatSystemNotificationDataMemberUpdate */
|
|
598
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberUpdate"] = 14] = "kNIMQChatSystemNotificationTypeMemberUpdate";
|
|
599
|
-
/** 频道创建 msg_data: NIMQChatSystemNotificationDataChannelCreate */
|
|
600
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelCreate"] = 15] = "kNIMQChatSystemNotificationTypeChannelCreate";
|
|
601
|
-
/** 频道解散 msg_data: NULL */
|
|
602
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelDelete"] = 16] = "kNIMQChatSystemNotificationTypeChannelDelete";
|
|
603
|
-
/** 频道更新 msg_data: NIMQChatSystemNotificationDataChannelUpdate */
|
|
604
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelUpdate"] = 17] = "kNIMQChatSystemNotificationTypeChannelUpdate";
|
|
605
|
-
/** 频道白/黑名单身份组更新 msg_data: NIMQChatSystemNotificationDataWhiteBlackRoleUpdate */
|
|
606
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeWhiteBlackRoleUpdate"] = 18] = "kNIMQChatSystemNotificationTypeWhiteBlackRoleUpdate";
|
|
607
|
-
/** 频道白/黑名单成员更新 msg_data: NIMQChatSystemNotificationDataWhiteBlackMembersUpdate */
|
|
608
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeWhiteBlackMembersUpdate"] = 19] = "kNIMQChatSystemNotificationTypeWhiteBlackMembersUpdate";
|
|
609
|
-
/** 添加或删除快捷评论通知 msg_data: NIMQChatSystemNotificationQuickCommentChanged */
|
|
610
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeQuickCommentChanged"] = 20] = "kNIMQChatSystemNotificationTypeQuickCommentChanged";
|
|
611
|
-
/** 创建频道分组 msg_data: NIMQChatSystemNotificationDataChannelCategoryCreate */
|
|
612
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelCategoryCreate"] = 21] = "kNIMQChatSystemNotificationTypeChannelCategoryCreate";
|
|
613
|
-
/** 删除频道分组 msg_data: NIMQChatSystemNotificationDataChannelCategoryRemove */
|
|
614
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelCategoryRemove"] = 22] = "kNIMQChatSystemNotificationTypeChannelCategoryRemove";
|
|
615
|
-
/** 更新频道分组 msg_data: NIMQChatSystemNotificationDataChannelCategoryUpdate */
|
|
616
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelCategoryUpdate"] = 23] = "kNIMQChatSystemNotificationTypeChannelCategoryUpdate";
|
|
617
|
-
/** 频道分组白/黑名单身份组更新 msg_data: NIMQChatSystemNotificationDataChannelCategoryWhiteBlackRoleUpdate */
|
|
618
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackRoleUpdate"] = 24] = "kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackRoleUpdate";
|
|
619
|
-
/** 频道分组白/黑名单成员更新 msg_data: NIMQChatSystemNotificationDataChannelCategoryWhiteBlackMembersUpdate */
|
|
620
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackMembersUpdate"] = 25] = "kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackMembersUpdate";
|
|
621
|
-
/** 服务器身份组加入成员 msg_data: NIMQChatSystemNotificationDataServerRoleAddMember */
|
|
622
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerRoleAddMember"] = 26] = "kNIMQChatSystemNotificationTypeServerRoleAddMember";
|
|
623
|
-
/** 服务器身份组移出成员 msg_data: NIMQChatSystemNotificationDataServerRoleRemoveMember */
|
|
624
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerRoleRemoveMember"] = 27] = "kNIMQChatSystemNotificationTypeServerRoleRemoveMember";
|
|
625
|
-
/** 服务器身份组权限变更 msg_data: NIMQChatSystemNotificationDataServerRolePermissionChange */
|
|
626
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerRolePermissionChange"] = 28] = "kNIMQChatSystemNotificationTypeServerRolePermissionChange";
|
|
627
|
-
/** 频道定制身份组权限变更 msg_data: NIMQChatSystemNotificationDataChannelRolePermissionChange */
|
|
628
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelRolePermissionChange"] = 29] = "kNIMQChatSystemNotificationTypeChannelRolePermissionChange";
|
|
629
|
-
/** 频道个人定制权限变更 msg_data: NIMQChatSystemNotificationDataMemberRolePermissionChange */
|
|
630
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberRolePermissionChange"] = 30] = "kNIMQChatSystemNotificationTypeMemberRolePermissionChange";
|
|
631
|
-
/** 频道对当前用户可见性变更 msg_data: NIMQChatSystemNotificationDataChannelVisibilityChange */
|
|
632
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelVisibilityChange"] = 31] = "kNIMQChatSystemNotificationTypeChannelVisibilityChange";
|
|
633
|
-
/** 当前用户进入/离开服务器 msg_data: NIMQChatSystemNotificationDataServerEnterLeave */
|
|
634
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerEnterLeave"] = 32] = "kNIMQChatSystemNotificationTypeServerEnterLeave";
|
|
635
|
-
/** 用户通过邀请码加入服务器 msg_data: NIMQChatSystemNotificationDataServerJoinByInviteCode */
|
|
636
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerJoinByInviteCode"] = 33] = "kNIMQChatSystemNotificationTypeServerJoinByInviteCode";
|
|
637
|
-
/** 频道对游客可见性变更 msg_data: NIMQChatSystemNotificationDataChannelGuestVisibilityChange */
|
|
638
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelVisitorVisibilityChange"] = 34] = "kNIMQChatSystemNotificationTypeChannelVisitorVisibilityChange";
|
|
639
|
-
/** 当前用户服务器成员信息对IM资料的联动变更 msg_data: NIMQChatSystemNotificationDataMyMemberInfoUpdated */
|
|
640
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMyMemberInfoUpdated"] = 35] = "kNIMQChatSystemNotificationTypeMyMemberInfoUpdated";
|
|
641
|
-
/** 自定义系统通知 msg_data: NULL */
|
|
642
|
-
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeCustom"] = 100] = "kNIMQChatSystemNotificationTypeCustom";
|
|
643
|
-
})(NIMQChatSystemNotificationType = exports.NIMQChatSystemNotificationType || (exports.NIMQChatSystemNotificationType = {}));
|
|
644
|
-
var NIMQChatSystemNotificationStatus;
|
|
645
|
-
(function (NIMQChatSystemNotificationStatus) {
|
|
646
|
-
/** 普通状态 */
|
|
647
|
-
NIMQChatSystemNotificationStatus[NIMQChatSystemNotificationStatus["kNIMQChatSystemNotificationNormal"] = 0] = "kNIMQChatSystemNotificationNormal";
|
|
648
|
-
NIMQChatSystemNotificationStatus[NIMQChatSystemNotificationStatus["kNIMQChatSystemNotificationUser"] = 10000] = "kNIMQChatSystemNotificationUser"; // 大于10000为用户自定义状态
|
|
649
|
-
})(NIMQChatSystemNotificationStatus = exports.NIMQChatSystemNotificationStatus || (exports.NIMQChatSystemNotificationStatus = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NIMQChatSystemNotificationStatus = exports.NIMQChatSystemNotificationType = exports.NIMQChatSystemNotificationToType = exports.NIMQChatInviteApplyRecordStatus = exports.NIMQChatInviteApplyRecordType = exports.NIMQChatServerSearchType = exports.NIMQChatServerInviteFailReason = exports.NIMQChatServerApplyMode = exports.NIMQChatServerInviteMode = exports.NIMQChatGetReferMessageType = exports.NIMQChatQuickCommentOperation = exports.NIMQChatMsgType = exports.NIMQChatMessageNotifyReason = exports.NIMQChatMessageStatus = exports.NIMQChatFCSAuthenticationType = exports.NIMQChatHandShakeType = exports.NIMQChatCommEncryptionAlgorithm = exports.NIMQChatExchangeKeyEncryptionAlgorithm = exports.NIMQChatLoginStatus = exports.NIMQChatLoginStep = exports.NIMQChatClientType = exports.NIMQChatLoginAuthType = exports.NIMQChatPermissionsOption = exports.NIMQChatRoleType = exports.NIMQChatPermissions = exports.NIMResCode = exports.NIMQChatChannelSearchSort = exports.NIMQChatServerSearchSort = exports.NIMQChatMessageSearchSort = exports.NIMQChatSearchOrder = exports.NIMQChatBanMemberOpeType = exports.NIMQChatDownloadResType = exports.NIMQChatSubscribeType = exports.NIMQChatSubscribeOpeType = exports.NIMQChatChannelSyncMode = exports.NIMQChatChannelVisitorMode = exports.NIMQChatChannelViewMode = exports.NIMQChatChannelWhiteBlackOpeType = exports.NIMQChatChannelWhiteBlackType = exports.NIMQChatChannelMemberIdentifyOpeType = exports.NIMQChatChannelMemberIdentifyType = exports.NIMQChatChannelType = void 0;
|
|
4
|
+
var NIMQChatChannelType;
|
|
5
|
+
(function (NIMQChatChannelType) {
|
|
6
|
+
/** 普通文本频道 */
|
|
7
|
+
NIMQChatChannelType[NIMQChatChannelType["kNIMQChatChannelTypeText"] = 0] = "kNIMQChatChannelTypeText";
|
|
8
|
+
/** RTC频道 */
|
|
9
|
+
NIMQChatChannelType[NIMQChatChannelType["kNIMQChatChannelTypeRTC"] = 1] = "kNIMQChatChannelTypeRTC";
|
|
10
|
+
/** 自定义频道类型 */
|
|
11
|
+
NIMQChatChannelType[NIMQChatChannelType["kNIMQChatChannelTypeCustom"] = 100] = "kNIMQChatChannelTypeCustom";
|
|
12
|
+
})(NIMQChatChannelType = exports.NIMQChatChannelType || (exports.NIMQChatChannelType = {}));
|
|
13
|
+
var NIMQChatChannelMemberIdentifyType;
|
|
14
|
+
(function (NIMQChatChannelMemberIdentifyType) {
|
|
15
|
+
NIMQChatChannelMemberIdentifyType[NIMQChatChannelMemberIdentifyType["kNIMQChatWhite"] = 1] = "kNIMQChatWhite";
|
|
16
|
+
NIMQChatChannelMemberIdentifyType[NIMQChatChannelMemberIdentifyType["kNIMQChatBlack"] = 2] = "kNIMQChatBlack";
|
|
17
|
+
})(NIMQChatChannelMemberIdentifyType = exports.NIMQChatChannelMemberIdentifyType || (exports.NIMQChatChannelMemberIdentifyType = {}));
|
|
18
|
+
var NIMQChatChannelMemberIdentifyOpeType;
|
|
19
|
+
(function (NIMQChatChannelMemberIdentifyOpeType) {
|
|
20
|
+
NIMQChatChannelMemberIdentifyOpeType[NIMQChatChannelMemberIdentifyOpeType["kNIMQChatChannelMemberIdentifyOpeTypeAdd"] = 1] = "kNIMQChatChannelMemberIdentifyOpeTypeAdd";
|
|
21
|
+
NIMQChatChannelMemberIdentifyOpeType[NIMQChatChannelMemberIdentifyOpeType["kNIMQChatChannelMemberIdentifyOpeTypeRemove"] = 2] = "kNIMQChatChannelMemberIdentifyOpeTypeRemove";
|
|
22
|
+
})(NIMQChatChannelMemberIdentifyOpeType = exports.NIMQChatChannelMemberIdentifyOpeType || (exports.NIMQChatChannelMemberIdentifyOpeType = {}));
|
|
23
|
+
var NIMQChatChannelWhiteBlackType;
|
|
24
|
+
(function (NIMQChatChannelWhiteBlackType) {
|
|
25
|
+
NIMQChatChannelWhiteBlackType[NIMQChatChannelWhiteBlackType["kNIMQChatChannelWhite"] = 1] = "kNIMQChatChannelWhite";
|
|
26
|
+
NIMQChatChannelWhiteBlackType[NIMQChatChannelWhiteBlackType["kNIMQChatChannelBlack"] = 2] = "kNIMQChatChannelBlack";
|
|
27
|
+
})(NIMQChatChannelWhiteBlackType = exports.NIMQChatChannelWhiteBlackType || (exports.NIMQChatChannelWhiteBlackType = {}));
|
|
28
|
+
var NIMQChatChannelWhiteBlackOpeType;
|
|
29
|
+
(function (NIMQChatChannelWhiteBlackOpeType) {
|
|
30
|
+
NIMQChatChannelWhiteBlackOpeType[NIMQChatChannelWhiteBlackOpeType["kNIMQChatChannelWhiteBlackOpeTypeAdd"] = 1] = "kNIMQChatChannelWhiteBlackOpeTypeAdd";
|
|
31
|
+
NIMQChatChannelWhiteBlackOpeType[NIMQChatChannelWhiteBlackOpeType["kNIMQChatChannelWhiteBlackOpeTypeRemove"] = 2] = "kNIMQChatChannelWhiteBlackOpeTypeRemove";
|
|
32
|
+
})(NIMQChatChannelWhiteBlackOpeType = exports.NIMQChatChannelWhiteBlackOpeType || (exports.NIMQChatChannelWhiteBlackOpeType = {}));
|
|
33
|
+
var NIMQChatChannelViewMode;
|
|
34
|
+
(function (NIMQChatChannelViewMode) {
|
|
35
|
+
/** 公开模式 */
|
|
36
|
+
NIMQChatChannelViewMode[NIMQChatChannelViewMode["kNIMQChatChannelViewModePublic"] = 0] = "kNIMQChatChannelViewModePublic";
|
|
37
|
+
/** 私密模式 */
|
|
38
|
+
NIMQChatChannelViewMode[NIMQChatChannelViewMode["kNIMQChatChannelViewModePrivate"] = 1] = "kNIMQChatChannelViewModePrivate";
|
|
39
|
+
})(NIMQChatChannelViewMode = exports.NIMQChatChannelViewMode || (exports.NIMQChatChannelViewMode = {}));
|
|
40
|
+
var NIMQChatChannelVisitorMode;
|
|
41
|
+
(function (NIMQChatChannelVisitorMode) {
|
|
42
|
+
/** 游客可见 */
|
|
43
|
+
NIMQChatChannelVisitorMode[NIMQChatChannelVisitorMode["kNIMQChatChannelVisitorModeVisible"] = 0] = "kNIMQChatChannelVisitorModeVisible";
|
|
44
|
+
/** 游客不可见 */
|
|
45
|
+
NIMQChatChannelVisitorMode[NIMQChatChannelVisitorMode["kNIMQChatChannelVisitorModeInvisible"] = 1] = "kNIMQChatChannelVisitorModeInvisible";
|
|
46
|
+
/** 跟随模式, 频道公开游客可见, 频道私密游客不可见 */
|
|
47
|
+
NIMQChatChannelVisitorMode[NIMQChatChannelVisitorMode["kNIMQChatChannelVisitorModeFollow"] = 2] = "kNIMQChatChannelVisitorModeFollow";
|
|
48
|
+
})(NIMQChatChannelVisitorMode = exports.NIMQChatChannelVisitorMode || (exports.NIMQChatChannelVisitorMode = {}));
|
|
49
|
+
var NIMQChatChannelSyncMode;
|
|
50
|
+
(function (NIMQChatChannelSyncMode) {
|
|
51
|
+
/** 不与频道分组同步 */
|
|
52
|
+
NIMQChatChannelSyncMode[NIMQChatChannelSyncMode["kNIMQChatChannelSyncModeNoSync"] = 0] = "kNIMQChatChannelSyncModeNoSync";
|
|
53
|
+
/** 与频道分组同步 */
|
|
54
|
+
NIMQChatChannelSyncMode[NIMQChatChannelSyncMode["kNIMQChatChannelSyncModeSync"] = 1] = "kNIMQChatChannelSyncModeSync";
|
|
55
|
+
})(NIMQChatChannelSyncMode = exports.NIMQChatChannelSyncMode || (exports.NIMQChatChannelSyncMode = {}));
|
|
56
|
+
var NIMQChatSubscribeOpeType;
|
|
57
|
+
(function (NIMQChatSubscribeOpeType) {
|
|
58
|
+
/** 订阅 */
|
|
59
|
+
NIMQChatSubscribeOpeType[NIMQChatSubscribeOpeType["kNIMQChatSubscribeOpeTypeSubscribe"] = 1] = "kNIMQChatSubscribeOpeTypeSubscribe";
|
|
60
|
+
/** 取消订阅 */
|
|
61
|
+
NIMQChatSubscribeOpeType[NIMQChatSubscribeOpeType["kNIMQChatSubscribeOpeTypeUnsubscribe"] = 2] = "kNIMQChatSubscribeOpeTypeUnsubscribe";
|
|
62
|
+
})(NIMQChatSubscribeOpeType = exports.NIMQChatSubscribeOpeType || (exports.NIMQChatSubscribeOpeType = {}));
|
|
63
|
+
var NIMQChatSubscribeType;
|
|
64
|
+
(function (NIMQChatSubscribeType) {
|
|
65
|
+
/** 未知 */
|
|
66
|
+
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeUnknow"] = 0] = "kNIMQChatSubscribeTypeUnknow";
|
|
67
|
+
/** 订阅某个channel的【消息】/【通知】 */
|
|
68
|
+
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeMsg"] = 1] = "kNIMQChatSubscribeTypeMsg";
|
|
69
|
+
/** 订阅某个channel的【消息未读数】/【通知】 */
|
|
70
|
+
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeUnreadCount"] = 2] = "kNIMQChatSubscribeTypeUnreadCount";
|
|
71
|
+
/** 订阅某个channel的【消息未读状态】/【通知】 */
|
|
72
|
+
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeUnreadStatus"] = 3] = "kNIMQChatSubscribeTypeUnreadStatus";
|
|
73
|
+
/** 订阅某个server的【通知】 */
|
|
74
|
+
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeServerNotification"] = 4] = "kNIMQChatSubscribeTypeServerNotification";
|
|
75
|
+
/** 订阅某个channel的【正在输入事件】 */
|
|
76
|
+
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeTypingEvent"] = 5] = "kNIMQChatSubscribeTypeTypingEvent";
|
|
77
|
+
/** 以游客身份订阅某个channel的【消息】/【通知】 */
|
|
78
|
+
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeVisitorMsg"] = 6] = "kNIMQChatSubscribeTypeVisitorMsg";
|
|
79
|
+
/** 以游客身份订阅某个server的【消息】/【通知】 */
|
|
80
|
+
NIMQChatSubscribeType[NIMQChatSubscribeType["kNIMQChatSubscribeTypeVisitorServerNotification"] = 7] = "kNIMQChatSubscribeTypeVisitorServerNotification";
|
|
81
|
+
})(NIMQChatSubscribeType = exports.NIMQChatSubscribeType || (exports.NIMQChatSubscribeType = {}));
|
|
82
|
+
var NIMQChatDownloadResType;
|
|
83
|
+
(function (NIMQChatDownloadResType) {
|
|
84
|
+
/** 原文件 */
|
|
85
|
+
NIMQChatDownloadResType[NIMQChatDownloadResType["NIMQChatDownloadResTypeSource"] = 1] = "NIMQChatDownloadResTypeSource";
|
|
86
|
+
/** 图片缩略图 */
|
|
87
|
+
NIMQChatDownloadResType[NIMQChatDownloadResType["NIMQChatDownloadResTypeImageThumnail"] = 2] = "NIMQChatDownloadResTypeImageThumnail";
|
|
88
|
+
/** 视频封面 */
|
|
89
|
+
NIMQChatDownloadResType[NIMQChatDownloadResType["NIMQChatDownloadResTypeVideoCover"] = 3] = "NIMQChatDownloadResTypeVideoCover";
|
|
90
|
+
})(NIMQChatDownloadResType = exports.NIMQChatDownloadResType || (exports.NIMQChatDownloadResType = {}));
|
|
91
|
+
var NIMQChatBanMemberOpeType;
|
|
92
|
+
(function (NIMQChatBanMemberOpeType) {
|
|
93
|
+
/** 封禁 */
|
|
94
|
+
NIMQChatBanMemberOpeType[NIMQChatBanMemberOpeType["kNIMQChatBanMemberOpeTypeBan"] = 1] = "kNIMQChatBanMemberOpeTypeBan";
|
|
95
|
+
/** 解除封禁 */
|
|
96
|
+
NIMQChatBanMemberOpeType[NIMQChatBanMemberOpeType["kNIMQChatBanMemberOpeTypeUnban"] = 2] = "kNIMQChatBanMemberOpeTypeUnban";
|
|
97
|
+
})(NIMQChatBanMemberOpeType = exports.NIMQChatBanMemberOpeType || (exports.NIMQChatBanMemberOpeType = {}));
|
|
98
|
+
var NIMQChatSearchOrder;
|
|
99
|
+
(function (NIMQChatSearchOrder) {
|
|
100
|
+
/** 按时间正序 */
|
|
101
|
+
NIMQChatSearchOrder[NIMQChatSearchOrder["kNIMQChatSearchOrderAsc"] = 1] = "kNIMQChatSearchOrderAsc";
|
|
102
|
+
/** 按时间倒序 */
|
|
103
|
+
NIMQChatSearchOrder[NIMQChatSearchOrder["kNIMQChatSearchOrderDesc"] = 2] = "kNIMQChatSearchOrderDesc";
|
|
104
|
+
})(NIMQChatSearchOrder = exports.NIMQChatSearchOrder || (exports.NIMQChatSearchOrder = {}));
|
|
105
|
+
var NIMQChatMessageSearchSort;
|
|
106
|
+
(function (NIMQChatMessageSearchSort) {
|
|
107
|
+
/** 创建时间排序 */
|
|
108
|
+
NIMQChatMessageSearchSort[NIMQChatMessageSearchSort["kNIMQChatMessageSearchSortCreateTime"] = 1] = "kNIMQChatMessageSearchSortCreateTime";
|
|
109
|
+
})(NIMQChatMessageSearchSort = exports.NIMQChatMessageSearchSort || (exports.NIMQChatMessageSearchSort = {}));
|
|
110
|
+
var NIMQChatServerSearchSort;
|
|
111
|
+
(function (NIMQChatServerSearchSort) {
|
|
112
|
+
/** 自定义权重排序(详见服务器端文档) */
|
|
113
|
+
NIMQChatServerSearchSort[NIMQChatServerSearchSort["kNIMQChatServerSearchSortCustom"] = 0] = "kNIMQChatServerSearchSortCustom";
|
|
114
|
+
/** 创建时间排序 */
|
|
115
|
+
NIMQChatServerSearchSort[NIMQChatServerSearchSort["kNIMQChatServerSearchSortCreateTime"] = 1] = "kNIMQChatServerSearchSortCreateTime";
|
|
116
|
+
/** 服务器总人数排序 */
|
|
117
|
+
NIMQChatServerSearchSort[NIMQChatServerSearchSort["kNIMQChatServerSearchSortMemberCOunt"] = 2] = "kNIMQChatServerSearchSortMemberCOunt";
|
|
118
|
+
})(NIMQChatServerSearchSort = exports.NIMQChatServerSearchSort || (exports.NIMQChatServerSearchSort = {}));
|
|
119
|
+
var NIMQChatChannelSearchSort;
|
|
120
|
+
(function (NIMQChatChannelSearchSort) {
|
|
121
|
+
/** 自定义权重排序(详见服务器端文档) */
|
|
122
|
+
NIMQChatChannelSearchSort[NIMQChatChannelSearchSort["kNIMQChatChannelSearchSortCustom"] = 0] = "kNIMQChatChannelSearchSortCustom";
|
|
123
|
+
/** 创建时间排序 */
|
|
124
|
+
NIMQChatChannelSearchSort[NIMQChatChannelSearchSort["kNIMQChatChannelSearchSortCreateTime"] = 1] = "kNIMQChatChannelSearchSortCreateTime";
|
|
125
|
+
})(NIMQChatChannelSearchSort = exports.NIMQChatChannelSearchSort || (exports.NIMQChatChannelSearchSort = {}));
|
|
126
|
+
var NIMResCode;
|
|
127
|
+
(function (NIMResCode) {
|
|
128
|
+
// 通用错误码
|
|
129
|
+
/// 错误
|
|
130
|
+
NIMResCode[NIMResCode["kNIMResError"] = 0] = "kNIMResError";
|
|
131
|
+
/// 没有错误,一切正常
|
|
132
|
+
NIMResCode[NIMResCode["kNIMResSuccess"] = 200] = "kNIMResSuccess";
|
|
133
|
+
/// 客户端版本不正确
|
|
134
|
+
NIMResCode[NIMResCode["kNIMResVersionError"] = 201] = "kNIMResVersionError";
|
|
135
|
+
/// 用户名或密码错误
|
|
136
|
+
NIMResCode[NIMResCode["kNIMResUidPassError"] = 302] = "kNIMResUidPassError";
|
|
137
|
+
/// 禁止操作
|
|
138
|
+
NIMResCode[NIMResCode["kNIMResForbidden"] = 403] = "kNIMResForbidden";
|
|
139
|
+
/// 请求的目标(用户或对象)不存在
|
|
140
|
+
NIMResCode[NIMResCode["kNIMResNotExist"] = 404] = "kNIMResNotExist";
|
|
141
|
+
/// 数据自上次查询以来未发生变化(用于增量更新)
|
|
142
|
+
NIMResCode[NIMResCode["kNIMResNoModify"] = 406] = "kNIMResNoModify";
|
|
143
|
+
/// 请求过程超时
|
|
144
|
+
NIMResCode[NIMResCode["kNIMResTimeoutError"] = 408] = "kNIMResTimeoutError";
|
|
145
|
+
/// 参数错误
|
|
146
|
+
NIMResCode[NIMResCode["kNIMResParameterError"] = 414] = "kNIMResParameterError";
|
|
147
|
+
/// 网络连接出现错误
|
|
148
|
+
NIMResCode[NIMResCode["kNIMResConnectionError"] = 415] = "kNIMResConnectionError";
|
|
149
|
+
/// 操作太过频繁
|
|
150
|
+
NIMResCode[NIMResCode["kNIMResFrequently"] = 416] = "kNIMResFrequently";
|
|
151
|
+
/// 对象已经存在/重复操作
|
|
152
|
+
NIMResCode[NIMResCode["kNIMResExist"] = 417] = "kNIMResExist";
|
|
153
|
+
/// 超限
|
|
154
|
+
NIMResCode[NIMResCode["kNIMResOverrun"] = 419] = "kNIMResOverrun";
|
|
155
|
+
/// 帐号被禁用
|
|
156
|
+
NIMResCode[NIMResCode["kNIMResAccountBlock"] = 422] = "kNIMResAccountBlock";
|
|
157
|
+
/// 未知错误,或者不方便告诉你
|
|
158
|
+
NIMResCode[NIMResCode["kNIMResUnknownError"] = 500] = "kNIMResUnknownError";
|
|
159
|
+
/// 服务器数据错误
|
|
160
|
+
NIMResCode[NIMResCode["kNIMResServerDataError"] = 501] = "kNIMResServerDataError";
|
|
161
|
+
/// 服务器太忙
|
|
162
|
+
NIMResCode[NIMResCode["kNIMResTooBuzy"] = 503] = "kNIMResTooBuzy";
|
|
163
|
+
/// 超过配置有效期
|
|
164
|
+
NIMResCode[NIMResCode["kNIMResExceedLimit"] = 508] = "kNIMResExceedLimit";
|
|
165
|
+
/// 协议无效, 不允许访问的协议
|
|
166
|
+
NIMResCode[NIMResCode["kNIMResInvalid"] = 509] = "kNIMResInvalid";
|
|
167
|
+
// 群错误码
|
|
168
|
+
/// 已达到人数限制
|
|
169
|
+
NIMResCode[NIMResCode["kNIMResTeamECountLimit"] = 801] = "kNIMResTeamECountLimit";
|
|
170
|
+
/// 没有权限
|
|
171
|
+
NIMResCode[NIMResCode["kNIMResTeamENAccess"] = 802] = "kNIMResTeamENAccess";
|
|
172
|
+
/// 群不存在
|
|
173
|
+
NIMResCode[NIMResCode["kNIMResTeamENotExist"] = 803] = "kNIMResTeamENotExist";
|
|
174
|
+
/// 用户不在兴趣组里面
|
|
175
|
+
NIMResCode[NIMResCode["kNIMResTeamEMemberNotExist"] = 804] = "kNIMResTeamEMemberNotExist";
|
|
176
|
+
/// 群类型不对
|
|
177
|
+
NIMResCode[NIMResCode["kNIMResTeamErrType"] = 805] = "kNIMResTeamErrType";
|
|
178
|
+
/// 创建群数量限制
|
|
179
|
+
NIMResCode[NIMResCode["kNIMResTeamLimit"] = 806] = "kNIMResTeamLimit";
|
|
180
|
+
/// 群成员状态不对
|
|
181
|
+
NIMResCode[NIMResCode["kNIMResTeamUserStatusErr"] = 807] = "kNIMResTeamUserStatusErr";
|
|
182
|
+
/// 申请成功
|
|
183
|
+
NIMResCode[NIMResCode["kNIMResTeamApplySuccess"] = 808] = "kNIMResTeamApplySuccess";
|
|
184
|
+
/// 已经在群里
|
|
185
|
+
NIMResCode[NIMResCode["kNIMResTeamAlreadyIn"] = 809] = "kNIMResTeamAlreadyIn";
|
|
186
|
+
/// 邀请成功
|
|
187
|
+
NIMResCode[NIMResCode["kNIMResTeamInviteSuccess"] = 810] = "kNIMResTeamInviteSuccess";
|
|
188
|
+
/// 强推列表账号数量超限
|
|
189
|
+
NIMResCode[NIMResCode["kNIMResForcePushCountLimit"] = 811] = "kNIMResForcePushCountLimit";
|
|
190
|
+
/// 操作成功,但部分成员的群数量超限
|
|
191
|
+
NIMResCode[NIMResCode["kNIMResTeamMemberLimit"] = 813] = "kNIMResTeamMemberLimit";
|
|
192
|
+
/// 批量查询群信息部分成功
|
|
193
|
+
NIMResCode[NIMResCode["kNIMResTeamGetInfoListPartSuccess"] = 816] = "kNIMResTeamGetInfoListPartSuccess";
|
|
194
|
+
// 数据解编错误代码
|
|
195
|
+
/// 协议已失效
|
|
196
|
+
NIMResCode[NIMResCode["kNIMResInvalidProtocol"] = 997] = "kNIMResInvalidProtocol";
|
|
197
|
+
/// 解包错误
|
|
198
|
+
NIMResCode[NIMResCode["kNIMResEUnpacket"] = 998] = "kNIMResEUnpacket";
|
|
199
|
+
/// 打包错误
|
|
200
|
+
NIMResCode[NIMResCode["kNIMResEPacket"] = 999] = "kNIMResEPacket";
|
|
201
|
+
/// 被接收方加入黑名单 SDK版本大于2.5.0支持
|
|
202
|
+
NIMResCode[NIMResCode["kNIMResInBlack"] = 7101] = "kNIMResInBlack";
|
|
203
|
+
// 独立信令错误代码
|
|
204
|
+
/// 房间不存在
|
|
205
|
+
NIMResCode[NIMResCode["kNIMResRoomNotExists"] = 10404] = "kNIMResRoomNotExists";
|
|
206
|
+
/// 房间已存在
|
|
207
|
+
NIMResCode[NIMResCode["kNIMResRoomHasExists"] = 10405] = "kNIMResRoomHasExists";
|
|
208
|
+
/// 不在房间内
|
|
209
|
+
NIMResCode[NIMResCode["kNIMResRoomMemberNotExists"] = 10406] = "kNIMResRoomMemberNotExists";
|
|
210
|
+
/// 已经在房间内
|
|
211
|
+
NIMResCode[NIMResCode["kNIMResRoomMemberHasExists"] = 10407] = "kNIMResRoomMemberHasExists";
|
|
212
|
+
/// 邀请不存在或已过期
|
|
213
|
+
NIMResCode[NIMResCode["kNIMResRoomInviteNotExists"] = 10408] = "kNIMResRoomInviteNotExists";
|
|
214
|
+
/// 邀请已经拒绝
|
|
215
|
+
NIMResCode[NIMResCode["kNIMResRoomInviteHasReject"] = 10409] = "kNIMResRoomInviteHasReject";
|
|
216
|
+
/// 邀请已经接受了
|
|
217
|
+
NIMResCode[NIMResCode["kNIMResRoomInviteHasAccept"] = 10410] = "kNIMResRoomInviteHasAccept";
|
|
218
|
+
/// 对方云信不在线
|
|
219
|
+
NIMResCode[NIMResCode["kNIMResPeerNimOffline"] = 10201] = "kNIMResPeerNimOffline";
|
|
220
|
+
/// 对方推送亦不可达
|
|
221
|
+
NIMResCode[NIMResCode["kNIMResPeerPushOffline"] = 10202] = "kNIMResPeerPushOffline";
|
|
222
|
+
/// uid冲突
|
|
223
|
+
NIMResCode[NIMResCode["kNIMResRoomUidConflict"] = 10417] = "kNIMResRoomUidConflict";
|
|
224
|
+
/// 房间人数超限
|
|
225
|
+
NIMResCode[NIMResCode["kNIMResRoomMemberExceed"] = 10419] = "kNIMResRoomMemberExceed";
|
|
226
|
+
/// 已经在房间内(自己的其他端)
|
|
227
|
+
NIMResCode[NIMResCode["kNIMResRoomMemberHasExistsOtherClient"] = 10420] = "kNIMResRoomMemberHasExistsOtherClient";
|
|
228
|
+
// 客户端自定义的错误号
|
|
229
|
+
/// 值大于该错误号的都是客户端自定义的错误号。不能随意更改其值!
|
|
230
|
+
NIMResCode[NIMResCode["kNIMLocalRes"] = 10000] = "kNIMLocalRes";
|
|
231
|
+
/// 客户端本地错误号,需要重新向IM服务器获取进入聊天室权限
|
|
232
|
+
NIMResCode[NIMResCode["kNIMResRoomLocalNeedRequestAgain"] = 10001] = "kNIMResRoomLocalNeedRequestAgain";
|
|
233
|
+
/// 客户端本地错误号,本地网络错误,需要检查本地网络
|
|
234
|
+
NIMResCode[NIMResCode["kNIMLocalResNetworkError"] = 10010] = "kNIMLocalResNetworkError";
|
|
235
|
+
// 客户端自定义的消息错误号
|
|
236
|
+
/// (发送文件消息或者stop_upload_ex)HTTP upload to NOS上传暂停
|
|
237
|
+
NIMResCode[NIMResCode["kNIMLocalResMsgNosUploadCancel"] = 10200] = "kNIMLocalResMsgNosUploadCancel";
|
|
238
|
+
/// (收到文件消息或者stop_download_ex)HTTP download from NOS下载暂停
|
|
239
|
+
NIMResCode[NIMResCode["kNIMLocalResMsgNosDownloadCancel"] = 10206] = "kNIMLocalResMsgNosDownloadCancel";
|
|
240
|
+
/// 收到文件消息,NOS下载完成后本地文件检查错误,一般为下载的文件大小与文件信息不符
|
|
241
|
+
NIMResCode[NIMResCode["kNIMLocalResMsgNosDownloadCheckError"] = 10207] = "kNIMLocalResMsgNosDownloadCheckError";
|
|
242
|
+
/// 本地文件无访问权限
|
|
243
|
+
NIMResCode[NIMResCode["kNIMLocalResMsgAccessDenied"] = 10403] = "kNIMLocalResMsgAccessDenied";
|
|
244
|
+
/// 本地资源不存在
|
|
245
|
+
NIMResCode[NIMResCode["kNIMLocalResMsgFileNotExist"] = 10404] = "kNIMLocalResMsgFileNotExist";
|
|
246
|
+
/// 本地错误码,参数错误
|
|
247
|
+
NIMResCode[NIMResCode["kNIMLocalResParameterError"] = 10414] = "kNIMLocalResParameterError";
|
|
248
|
+
/// 本地错误码,操作太过频繁
|
|
249
|
+
NIMResCode[NIMResCode["kNIMLocalResFrequently"] = 10416] = "kNIMLocalResFrequently";
|
|
250
|
+
/// 本地错误码,对象已经存在/重复操作,(收到消息,本地资源已存在,不需要重复下载)
|
|
251
|
+
NIMResCode[NIMResCode["kNIMLocalResExist"] = 10417] = "kNIMLocalResExist";
|
|
252
|
+
/// 调用api,传入的参数有误
|
|
253
|
+
NIMResCode[NIMResCode["kNIMLocalResParaError"] = 10450] = "kNIMLocalResParaError";
|
|
254
|
+
/// 发送消息,上传NOS失败
|
|
255
|
+
NIMResCode[NIMResCode["kNIMLocalResMsgSendNosError"] = 10502] = "kNIMLocalResMsgSendNosError";
|
|
256
|
+
/// 本地错误码,超过配置有效期或者所需参数不存在
|
|
257
|
+
NIMResCode[NIMResCode["kNIMLocalResExceedLimit"] = 10508] = "kNIMLocalResExceedLimit";
|
|
258
|
+
/// 导入消息历史时验证身份和加密密钥不通过
|
|
259
|
+
NIMResCode[NIMResCode["kNIMLocalResCheckMsgDBFailed"] = 10600] = "kNIMLocalResCheckMsgDBFailed";
|
|
260
|
+
/// 导入消息历史时写记录失败
|
|
261
|
+
NIMResCode[NIMResCode["kNIMLocalResImportMsgDBFailed"] = 10601] = "kNIMLocalResImportMsgDBFailed";
|
|
262
|
+
/// 群成员尚同步完成
|
|
263
|
+
NIMResCode[NIMResCode["kNIMLocalResTMembersSyncUndone"] = 10602] = "kNIMLocalResTMembersSyncUndone";
|
|
264
|
+
// 客户端自定义的RTS错误号
|
|
265
|
+
/// rts会话 未知错误
|
|
266
|
+
NIMResCode[NIMResCode["kNIMLocalResRtsError"] = 11100] = "kNIMLocalResRtsError";
|
|
267
|
+
/// rts会话 id不存在
|
|
268
|
+
NIMResCode[NIMResCode["kNIMLocalResRtsIdNotExist"] = 11101] = "kNIMLocalResRtsIdNotExist";
|
|
269
|
+
/// rts会话 音视频已存在
|
|
270
|
+
NIMResCode[NIMResCode["kNIMLocalResRtsVChatExist"] = 11417] = "kNIMLocalResRtsVChatExist";
|
|
271
|
+
/// rts会话 通道状态不正确
|
|
272
|
+
NIMResCode[NIMResCode["kNIMLocalResRtsStatusError"] = 11501] = "kNIMLocalResRtsStatusError";
|
|
273
|
+
/// rts会话 通道不存在
|
|
274
|
+
NIMResCode[NIMResCode["kNIMLocalResRtsChannelNotExist"] = 11510] = "kNIMLocalResRtsChannelNotExist";
|
|
275
|
+
/// 主链接错误
|
|
276
|
+
NIMResCode[NIMResCode["kNIMResRoomLinkError"] = 13001] = "kNIMResRoomLinkError";
|
|
277
|
+
/// 聊天室状态异常
|
|
278
|
+
NIMResCode[NIMResCode["kNIMResRoomError"] = 13002] = "kNIMResRoomError";
|
|
279
|
+
/// 黑名单用户禁止进入
|
|
280
|
+
NIMResCode[NIMResCode["kNIMResRoomBlackBeOut"] = 13003] = "kNIMResRoomBlackBeOut";
|
|
281
|
+
/// 被禁言
|
|
282
|
+
NIMResCode[NIMResCode["kNIMResRoomBeMuted"] = 13004] = "kNIMResRoomBeMuted";
|
|
283
|
+
/// 聊天室处于整体禁言状态,只有管理员能发言
|
|
284
|
+
NIMResCode[NIMResCode["kNIMResRoomAllMuted"] = 13006] = "kNIMResRoomAllMuted";
|
|
285
|
+
// 客户端自定义的api调用问题
|
|
286
|
+
/// 还未初始化或初始化未正常完成
|
|
287
|
+
NIMResCode[NIMResCode["kNIMLocalResAPIErrorInitUndone"] = 20000] = "kNIMLocalResAPIErrorInitUndone";
|
|
288
|
+
/// 还未登陆或登录未完成
|
|
289
|
+
NIMResCode[NIMResCode["kNIMLocalResAPIErrorLoginUndone"] = 20001] = "kNIMLocalResAPIErrorLoginUndone";
|
|
290
|
+
/// 已经登录
|
|
291
|
+
NIMResCode[NIMResCode["kNIMLocalResAPIErrorLogined"] = 20002] = "kNIMLocalResAPIErrorLogined";
|
|
292
|
+
/// SDK版本不对,可能会引发其他问题
|
|
293
|
+
NIMResCode[NIMResCode["kNIMLocalResAPIErrorVersionError"] = 20003] = "kNIMLocalResAPIErrorVersionError";
|
|
294
|
+
/// 聊天室模式混用错误,不支持同时以登陆状态和匿名状态登陆聊天室
|
|
295
|
+
NIMResCode[NIMResCode["kNIMLocalResAPIErrorChatroomMixError"] = 20005] = "kNIMLocalResAPIErrorChatroomMixError";
|
|
296
|
+
/// 登录失败,超过重试次数
|
|
297
|
+
NIMResCode[NIMResCode["kNIMLocalResAPIErrorLoginExceedRetryCount"] = 20006] = "kNIMLocalResAPIErrorLoginExceedRetryCount";
|
|
298
|
+
/// 连接地址用完了
|
|
299
|
+
NIMResCode[NIMResCode["kNIMLocalResAPIErrorRunOutOfLinkAddress"] = 20007] = "kNIMLocalResAPIErrorRunOutOfLinkAddress";
|
|
300
|
+
})(NIMResCode = exports.NIMResCode || (exports.NIMResCode = {}));
|
|
301
|
+
var NIMQChatPermissions;
|
|
302
|
+
(function (NIMQChatPermissions) {
|
|
303
|
+
/** 管理服务器,Server */
|
|
304
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionManageServer"] = 1] = "kPermissionManageServer";
|
|
305
|
+
/** 管理频道,Server/Channel */
|
|
306
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionManageChannel"] = 2] = "kPermissionManageChannel";
|
|
307
|
+
/** 管理角色,Server/Channel */
|
|
308
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionManageRole"] = 3] = "kPermissionManageRole";
|
|
309
|
+
/** 发送消息,Server/Channel */
|
|
310
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionSendMessage"] = 4] = "kPermissionSendMessage";
|
|
311
|
+
/** 修改自己信息,Server */
|
|
312
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionUpdateMyInfo"] = 5] = "kPermissionUpdateMyInfo";
|
|
313
|
+
/** 邀请他人,Server */
|
|
314
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionIviteMember"] = 6] = "kPermissionIviteMember";
|
|
315
|
+
/** 踢除他人,Server */
|
|
316
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionKickMember"] = 7] = "kPermissionKickMember";
|
|
317
|
+
/** 修改他人信息,Server */
|
|
318
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionUpdateMemberInfo"] = 8] = "kPermissionUpdateMemberInfo";
|
|
319
|
+
/** 撤回他人信息,Server/Channel */
|
|
320
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionRevokeMemberMessage"] = 9] = "kPermissionRevokeMemberMessage";
|
|
321
|
+
/** 删除他人消息,Server/Channel */
|
|
322
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionDeleteMemberMessage"] = 10] = "kPermissionDeleteMemberMessage";
|
|
323
|
+
/** @ 他人,Server/Channel */
|
|
324
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionAtMember"] = 11] = "kPermissionAtMember";
|
|
325
|
+
/** @ 所有人,Server/Channel */
|
|
326
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionAtAll"] = 12] = "kPermissionAtAll";
|
|
327
|
+
/** 管理白/黑名单,Server/Channel */
|
|
328
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionManageBlackWhiteList"] = 13] = "kPermissionManageBlackWhiteList";
|
|
329
|
+
/** 封禁他人,Server */
|
|
330
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionBanServerMember"] = 14] = "kPermissionBanServerMember";
|
|
331
|
+
/** RTC频道: 连接的权限,Server/Channel */
|
|
332
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCConnect"] = 15] = "kPermissionRTCConnect";
|
|
333
|
+
/** RTC频道: 断开他人连接的权限,Server/Channel */
|
|
334
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCDisconnectOther"] = 16] = "kPermissionRTCDisconnectOther";
|
|
335
|
+
/** RTC频道: 开启自己麦克风的权限,Server/Channel */
|
|
336
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCOpenMic"] = 17] = "kPermissionRTCOpenMic";
|
|
337
|
+
/** RTC频道: 开启自己摄像头的权限,Server/Channel */
|
|
338
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCOpenCamera"] = 18] = "kPermissionRTCOpenCamera";
|
|
339
|
+
/** RTC频道: 禁用/解禁他人麦克风的权限,Server/Channel */
|
|
340
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCOpenMuteOthersMic"] = 19] = "kPermissionRTCOpenMuteOthersMic";
|
|
341
|
+
/** RTC频道: 禁用/解禁他人摄像头的权限,Server/Channel */
|
|
342
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCOpenMuteOthersCamera"] = 20] = "kPermissionRTCOpenMuteOthersCamera";
|
|
343
|
+
/** RTC频道: 禁用/解禁全员麦克风的权限,Server/Channel */
|
|
344
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCOpenMuteAllMic"] = 21] = "kPermissionRTCOpenMuteAllMic";
|
|
345
|
+
/** RTC频道: 禁用/解禁全员摄像头的权限,Server/Channel */
|
|
346
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCOpenMuteAllCamera"] = 22] = "kPermissionRTCOpenMuteAllCamera";
|
|
347
|
+
/** RTC频道: 打开自己共享屏幕的权限,Server/Channel */
|
|
348
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCOpenScreenShare"] = 23] = "kPermissionRTCOpenScreenShare";
|
|
349
|
+
/** RTC频道: 关闭他人共享屏幕的权限,Server/Channel */
|
|
350
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionRTCCloseOthersScreenShare"] = 24] = "kPermissionRTCCloseOthersScreenShare";
|
|
351
|
+
/** 服务器申请处理权限,Server */
|
|
352
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionServerHandleApply"] = 25] = "kPermissionServerHandleApply";
|
|
353
|
+
/** 申请邀请历史查看权限,有这个权限才可以查询server级别的申请/邀请记录,Server */
|
|
354
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionGetServerInviteApplyRecords"] = 26] = "kPermissionGetServerInviteApplyRecords";
|
|
355
|
+
/** @ 身份组的权限,Server/Channel */
|
|
356
|
+
NIMQChatPermissions[NIMQChatPermissions["kPermissionMentionRole"] = 27] = "kPermissionMentionRole";
|
|
357
|
+
})(NIMQChatPermissions = exports.NIMQChatPermissions || (exports.NIMQChatPermissions = {}));
|
|
358
|
+
var NIMQChatRoleType;
|
|
359
|
+
(function (NIMQChatRoleType) {
|
|
360
|
+
/** 未知 */
|
|
361
|
+
NIMQChatRoleType[NIMQChatRoleType["kRoleTypeUnkonwn"] = 0] = "kRoleTypeUnkonwn";
|
|
362
|
+
/** 默认 Everyone 身份组 */
|
|
363
|
+
NIMQChatRoleType[NIMQChatRoleType["kRoleTypeEveryone"] = 1] = "kRoleTypeEveryone";
|
|
364
|
+
/** 自定义身份组 */
|
|
365
|
+
NIMQChatRoleType[NIMQChatRoleType["kRoleTypeCustom"] = 2] = "kRoleTypeCustom";
|
|
366
|
+
})(NIMQChatRoleType = exports.NIMQChatRoleType || (exports.NIMQChatRoleType = {}));
|
|
367
|
+
var NIMQChatPermissionsOption;
|
|
368
|
+
(function (NIMQChatPermissionsOption) {
|
|
369
|
+
/** 拒绝 */
|
|
370
|
+
NIMQChatPermissionsOption[NIMQChatPermissionsOption["kPermissionSwitchDeny"] = -1] = "kPermissionSwitchDeny";
|
|
371
|
+
/** 继承 */
|
|
372
|
+
NIMQChatPermissionsOption[NIMQChatPermissionsOption["kPermissionSwitchExtend"] = 0] = "kPermissionSwitchExtend";
|
|
373
|
+
/** 允许 */
|
|
374
|
+
NIMQChatPermissionsOption[NIMQChatPermissionsOption["kPermissionSwitchAllow"] = 1] = "kPermissionSwitchAllow";
|
|
375
|
+
})(NIMQChatPermissionsOption = exports.NIMQChatPermissionsOption || (exports.NIMQChatPermissionsOption = {}));
|
|
376
|
+
var NIMQChatLoginAuthType;
|
|
377
|
+
(function (NIMQChatLoginAuthType) {
|
|
378
|
+
/** 默认login token鉴权方式 */
|
|
379
|
+
NIMQChatLoginAuthType[NIMQChatLoginAuthType["kNIMQChatLoginAuthTypeDefault"] = 0] = "kNIMQChatLoginAuthTypeDefault";
|
|
380
|
+
/** app secret鉴权方式 */
|
|
381
|
+
NIMQChatLoginAuthType[NIMQChatLoginAuthType["kNIMQChatLoginAuthTypeAppSecret"] = 1] = "kNIMQChatLoginAuthTypeAppSecret";
|
|
382
|
+
/** 基于第三方回调的token鉴权方式, 圈组暂不支持 */
|
|
383
|
+
NIMQChatLoginAuthType[NIMQChatLoginAuthType["kNIMQChatLoginAuthTypeAppThirdParty"] = 2] = "kNIMQChatLoginAuthTypeAppThirdParty";
|
|
384
|
+
})(NIMQChatLoginAuthType = exports.NIMQChatLoginAuthType || (exports.NIMQChatLoginAuthType = {}));
|
|
385
|
+
var NIMQChatClientType;
|
|
386
|
+
(function (NIMQChatClientType) {
|
|
387
|
+
NIMQChatClientType[NIMQChatClientType["kQChatClientTypeUnknown"] = 0] = "kQChatClientTypeUnknown";
|
|
388
|
+
/** Android */
|
|
389
|
+
NIMQChatClientType[NIMQChatClientType["kQChatClientTypeAOS"] = 1] = "kQChatClientTypeAOS";
|
|
390
|
+
/** iOS */
|
|
391
|
+
NIMQChatClientType[NIMQChatClientType["kQChatClientTypeIOS"] = 2] = "kQChatClientTypeIOS";
|
|
392
|
+
/** Desktop PC (Windows/macOS/Linux) */
|
|
393
|
+
NIMQChatClientType[NIMQChatClientType["kQChatClientTypePC"] = 4] = "kQChatClientTypePC";
|
|
394
|
+
/** WP */
|
|
395
|
+
NIMQChatClientType[NIMQChatClientType["kQChatClientTypeWP"] = 8] = "kQChatClientTypeWP";
|
|
396
|
+
/** Web */
|
|
397
|
+
NIMQChatClientType[NIMQChatClientType["kQChatClientTypeWeb"] = 16] = "kQChatClientTypeWeb";
|
|
398
|
+
/** macOS */
|
|
399
|
+
NIMQChatClientType[NIMQChatClientType["kQChatClientTypeMacOS"] = 64] = "kQChatClientTypeMacOS";
|
|
400
|
+
})(NIMQChatClientType = exports.NIMQChatClientType || (exports.NIMQChatClientType = {}));
|
|
401
|
+
var NIMQChatLoginStep;
|
|
402
|
+
(function (NIMQChatLoginStep) {
|
|
403
|
+
/** 连接 Link 地址阶段 */
|
|
404
|
+
NIMQChatLoginStep[NIMQChatLoginStep["kLoginStepLink"] = 0] = "kLoginStepLink";
|
|
405
|
+
NIMQChatLoginStep[NIMQChatLoginStep["kLoginStepAuth"] = 1] = "kLoginStepAuth"; // 认证阶段
|
|
406
|
+
})(NIMQChatLoginStep = exports.NIMQChatLoginStep || (exports.NIMQChatLoginStep = {}));
|
|
407
|
+
var NIMQChatLoginStatus;
|
|
408
|
+
(function (NIMQChatLoginStatus) {
|
|
409
|
+
NIMQChatLoginStatus[NIMQChatLoginStatus["kLoginStatusUnlogin"] = 0] = "kLoginStatusUnlogin";
|
|
410
|
+
NIMQChatLoginStatus[NIMQChatLoginStatus["kLoginStatusLogging"] = 1] = "kLoginStatusLogging";
|
|
411
|
+
NIMQChatLoginStatus[NIMQChatLoginStatus["kLoginStatusLogin"] = 2] = "kLoginStatusLogin";
|
|
412
|
+
NIMQChatLoginStatus[NIMQChatLoginStatus["kLoginStatusKicked"] = 3] = "kLoginStatusKicked";
|
|
413
|
+
})(NIMQChatLoginStatus = exports.NIMQChatLoginStatus || (exports.NIMQChatLoginStatus = {}));
|
|
414
|
+
var NIMQChatExchangeKeyEncryptionAlgorithm;
|
|
415
|
+
(function (NIMQChatExchangeKeyEncryptionAlgorithm) {
|
|
416
|
+
/** RSA 加密 */
|
|
417
|
+
NIMQChatExchangeKeyEncryptionAlgorithm[NIMQChatExchangeKeyEncryptionAlgorithm["kNIMQChatEncryptionAlgorithmRSA"] = 1] = "kNIMQChatEncryptionAlgorithmRSA";
|
|
418
|
+
/** SM2 加密 */
|
|
419
|
+
NIMQChatExchangeKeyEncryptionAlgorithm[NIMQChatExchangeKeyEncryptionAlgorithm["kNIMQChatEncryptionAlgorithmSM2"] = 2] = "kNIMQChatEncryptionAlgorithmSM2";
|
|
420
|
+
})(NIMQChatExchangeKeyEncryptionAlgorithm = exports.NIMQChatExchangeKeyEncryptionAlgorithm || (exports.NIMQChatExchangeKeyEncryptionAlgorithm = {}));
|
|
421
|
+
var NIMQChatCommEncryptionAlgorithm;
|
|
422
|
+
(function (NIMQChatCommEncryptionAlgorithm) {
|
|
423
|
+
NIMQChatCommEncryptionAlgorithm[NIMQChatCommEncryptionAlgorithm["kNIMQChatCommEncryptionAlgorithmBase"] = 1] = "kNIMQChatCommEncryptionAlgorithmBase";
|
|
424
|
+
/** RC4 加密 */
|
|
425
|
+
NIMQChatCommEncryptionAlgorithm[NIMQChatCommEncryptionAlgorithm["kNIMQChatCommEncryptionAlgorithmRC4"] = 1] = "kNIMQChatCommEncryptionAlgorithmRC4";
|
|
426
|
+
/** AES128 加密 */
|
|
427
|
+
NIMQChatCommEncryptionAlgorithm[NIMQChatCommEncryptionAlgorithm["kNIMQChatCommEncryptionAlgorithmAES128"] = 2] = "kNIMQChatCommEncryptionAlgorithmAES128";
|
|
428
|
+
NIMQChatCommEncryptionAlgorithm[NIMQChatCommEncryptionAlgorithm["kNIMQChatCommEncryptionAlgorithmSM4"] = 4] = "kNIMQChatCommEncryptionAlgorithmSM4"; // SM4 加密
|
|
429
|
+
})(NIMQChatCommEncryptionAlgorithm = exports.NIMQChatCommEncryptionAlgorithm || (exports.NIMQChatCommEncryptionAlgorithm = {}));
|
|
430
|
+
var NIMQChatHandShakeType;
|
|
431
|
+
(function (NIMQChatHandShakeType) {
|
|
432
|
+
/** 支持配置多种对称与非对称加密算法 */
|
|
433
|
+
NIMQChatHandShakeType[NIMQChatHandShakeType["kNIMQChatHandShakeTypeMulti"] = 0] = "kNIMQChatHandShakeTypeMulti";
|
|
434
|
+
NIMQChatHandShakeType[NIMQChatHandShakeType["kNIMQChatHandShakeTypeRASRC4"] = 1] = "kNIMQChatHandShakeTypeRASRC4"; // 支持RAS + RC4
|
|
435
|
+
})(NIMQChatHandShakeType = exports.NIMQChatHandShakeType || (exports.NIMQChatHandShakeType = {}));
|
|
436
|
+
var NIMQChatFCSAuthenticationType;
|
|
437
|
+
(function (NIMQChatFCSAuthenticationType) {
|
|
438
|
+
NIMQChatFCSAuthenticationType[NIMQChatFCSAuthenticationType["kNIMQChatFCSAuthenticationTypeRefer"] = 1] = "kNIMQChatFCSAuthenticationTypeRefer";
|
|
439
|
+
NIMQChatFCSAuthenticationType[NIMQChatFCSAuthenticationType["kNIMQChatFCSAuthenticationTypeToken"] = 2] = "kNIMQChatFCSAuthenticationTypeToken";
|
|
440
|
+
NIMQChatFCSAuthenticationType[NIMQChatFCSAuthenticationType["kNIMQChatFCSAuthenticationTypeURLToken"] = 3] = "kNIMQChatFCSAuthenticationTypeURLToken";
|
|
441
|
+
NIMQChatFCSAuthenticationType[NIMQChatFCSAuthenticationType["kNIMQChatFCSAuthenticationTypeCustom"] = 4] = "kNIMQChatFCSAuthenticationTypeCustom";
|
|
442
|
+
})(NIMQChatFCSAuthenticationType = exports.NIMQChatFCSAuthenticationType || (exports.NIMQChatFCSAuthenticationType = {}));
|
|
443
|
+
var NIMQChatMessageStatus;
|
|
444
|
+
(function (NIMQChatMessageStatus) {
|
|
445
|
+
/** 普通消息状态 */
|
|
446
|
+
NIMQChatMessageStatus[NIMQChatMessageStatus["kMsgStatusNormal"] = 0] = "kMsgStatusNormal";
|
|
447
|
+
/** 被撤回的消息 */
|
|
448
|
+
NIMQChatMessageStatus[NIMQChatMessageStatus["kMsgStatusRevoke"] = 1] = "kMsgStatusRevoke";
|
|
449
|
+
/** 被删除的消息 */
|
|
450
|
+
NIMQChatMessageStatus[NIMQChatMessageStatus["kMsgStatusDelete"] = 2] = "kMsgStatusDelete";
|
|
451
|
+
NIMQChatMessageStatus[NIMQChatMessageStatus["kMsgStatusUser"] = 10000] = "kMsgStatusUser"; // 大于10000为用户自定义状态
|
|
452
|
+
})(NIMQChatMessageStatus = exports.NIMQChatMessageStatus || (exports.NIMQChatMessageStatus = {}));
|
|
453
|
+
var NIMQChatMessageNotifyReason;
|
|
454
|
+
(function (NIMQChatMessageNotifyReason) {
|
|
455
|
+
/** 未知原因 */
|
|
456
|
+
NIMQChatMessageNotifyReason[NIMQChatMessageNotifyReason["kMessageNotifyReasonUnkonw"] = 0] = "kMessageNotifyReasonUnkonw";
|
|
457
|
+
/** 本消息发给了channel里的所有人 */
|
|
458
|
+
NIMQChatMessageNotifyReason[NIMQChatMessageNotifyReason["kMessageNotifyReasonNotifyAll"] = 1] = "kMessageNotifyReasonNotifyAll";
|
|
459
|
+
/** 本消息发给了channel里的订阅者 */
|
|
460
|
+
NIMQChatMessageNotifyReason[NIMQChatMessageNotifyReason["kMessageNotifyReasonNotifySubscribe"] = 2] = "kMessageNotifyReasonNotifySubscribe";
|
|
461
|
+
})(NIMQChatMessageNotifyReason = exports.NIMQChatMessageNotifyReason || (exports.NIMQChatMessageNotifyReason = {}));
|
|
462
|
+
var NIMQChatMsgType;
|
|
463
|
+
(function (NIMQChatMsgType) {
|
|
464
|
+
/** 文本类型消息 */
|
|
465
|
+
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeText"] = 0] = "kNIMQChatMsgTypeText";
|
|
466
|
+
/** 图片类型消息 */
|
|
467
|
+
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeImage"] = 1] = "kNIMQChatMsgTypeImage";
|
|
468
|
+
/** 声音类型消息 */
|
|
469
|
+
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeAudio"] = 2] = "kNIMQChatMsgTypeAudio";
|
|
470
|
+
/** 视频类型消息 */
|
|
471
|
+
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeVideo"] = 3] = "kNIMQChatMsgTypeVideo";
|
|
472
|
+
/** 位置类型消息 */
|
|
473
|
+
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeLocation"] = 4] = "kNIMQChatMsgTypeLocation";
|
|
474
|
+
/** 通知类型消息 */
|
|
475
|
+
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeNotification"] = 5] = "kNIMQChatMsgTypeNotification";
|
|
476
|
+
/** 文件类型消息 */
|
|
477
|
+
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeFile"] = 6] = "kNIMQChatMsgTypeFile";
|
|
478
|
+
/** 提醒类型消息 */
|
|
479
|
+
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeTips"] = 10] = "kNIMQChatMsgTypeTips";
|
|
480
|
+
/** 自定义消息 */
|
|
481
|
+
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeCustom"] = 100] = "kNIMQChatMsgTypeCustom";
|
|
482
|
+
/** 未知类型消息,作为默认值 */
|
|
483
|
+
NIMQChatMsgType[NIMQChatMsgType["kNIMQChatMsgTypeUnknown"] = 1000] = "kNIMQChatMsgTypeUnknown";
|
|
484
|
+
})(NIMQChatMsgType = exports.NIMQChatMsgType || (exports.NIMQChatMsgType = {}));
|
|
485
|
+
var NIMQChatQuickCommentOperation;
|
|
486
|
+
(function (NIMQChatQuickCommentOperation) {
|
|
487
|
+
/** 添加 */
|
|
488
|
+
NIMQChatQuickCommentOperation[NIMQChatQuickCommentOperation["kNIMQChatQuickCommentAdd"] = 1] = "kNIMQChatQuickCommentAdd";
|
|
489
|
+
/** 删除 */
|
|
490
|
+
NIMQChatQuickCommentOperation[NIMQChatQuickCommentOperation["kNIMQChatQuickCommentRemove"] = 2] = "kNIMQChatQuickCommentRemove";
|
|
491
|
+
})(NIMQChatQuickCommentOperation = exports.NIMQChatQuickCommentOperation || (exports.NIMQChatQuickCommentOperation = {}));
|
|
492
|
+
var NIMQChatGetReferMessageType;
|
|
493
|
+
(function (NIMQChatGetReferMessageType) {
|
|
494
|
+
/** 获取被回复的消息 */
|
|
495
|
+
NIMQChatGetReferMessageType[NIMQChatGetReferMessageType["kNIMQChatGetReferMessageTypeReply"] = 1] = "kNIMQChatGetReferMessageTypeReply";
|
|
496
|
+
/** 获取 thread 根消息 */
|
|
497
|
+
NIMQChatGetReferMessageType[NIMQChatGetReferMessageType["kNIMQChatGetReferMessageTypeThreadRoot"] = 2] = "kNIMQChatGetReferMessageTypeThreadRoot";
|
|
498
|
+
/** 获取以上两个条件的消息 */
|
|
499
|
+
NIMQChatGetReferMessageType[NIMQChatGetReferMessageType["kNIMQChatGetReferMessageTypeAll"] = 3] = "kNIMQChatGetReferMessageTypeAll";
|
|
500
|
+
})(NIMQChatGetReferMessageType = exports.NIMQChatGetReferMessageType || (exports.NIMQChatGetReferMessageType = {}));
|
|
501
|
+
var NIMQChatServerInviteMode;
|
|
502
|
+
(function (NIMQChatServerInviteMode) {
|
|
503
|
+
/** 需要验证 */
|
|
504
|
+
NIMQChatServerInviteMode[NIMQChatServerInviteMode["kNIMQChatServerInviteModeNeedConfirm"] = 0] = "kNIMQChatServerInviteModeNeedConfirm";
|
|
505
|
+
NIMQChatServerInviteMode[NIMQChatServerInviteMode["kNIMQChatServerInviteModeNormal"] = 1] = "kNIMQChatServerInviteModeNormal"; // 不需要验证
|
|
506
|
+
})(NIMQChatServerInviteMode = exports.NIMQChatServerInviteMode || (exports.NIMQChatServerInviteMode = {}));
|
|
507
|
+
var NIMQChatServerApplyMode;
|
|
508
|
+
(function (NIMQChatServerApplyMode) {
|
|
509
|
+
/** 不需要验证 */
|
|
510
|
+
NIMQChatServerApplyMode[NIMQChatServerApplyMode["kNIMQChatServerApplyModeNormal"] = 0] = "kNIMQChatServerApplyModeNormal";
|
|
511
|
+
/** 需要验证 */
|
|
512
|
+
NIMQChatServerApplyMode[NIMQChatServerApplyMode["kNIMQChatServerApplyModeNeedConfirm"] = 1] = "kNIMQChatServerApplyModeNeedConfirm";
|
|
513
|
+
})(NIMQChatServerApplyMode = exports.NIMQChatServerApplyMode || (exports.NIMQChatServerApplyMode = {}));
|
|
514
|
+
var NIMQChatServerInviteFailReason;
|
|
515
|
+
(function (NIMQChatServerInviteFailReason) {
|
|
516
|
+
/** 服务器人数超过限制 */
|
|
517
|
+
NIMQChatServerInviteFailReason[NIMQChatServerInviteFailReason["kNIMQChatServerInviteFailReasonExceedLimit"] = 1] = "kNIMQChatServerInviteFailReasonExceedLimit";
|
|
518
|
+
/** 被封禁 */
|
|
519
|
+
NIMQChatServerInviteFailReason[NIMQChatServerInviteFailReason["kNIMQChatServerInviteFailReasonBanned"] = 2] = "kNIMQChatServerInviteFailReasonBanned";
|
|
520
|
+
})(NIMQChatServerInviteFailReason = exports.NIMQChatServerInviteFailReason || (exports.NIMQChatServerInviteFailReason = {}));
|
|
521
|
+
var NIMQChatServerSearchType;
|
|
522
|
+
(function (NIMQChatServerSearchType) {
|
|
523
|
+
/** 广场搜索 */
|
|
524
|
+
NIMQChatServerSearchType[NIMQChatServerSearchType["kNIMQChatServerSearchTypeSquare"] = 1] = "kNIMQChatServerSearchTypeSquare";
|
|
525
|
+
/** 个人服务器搜索 */
|
|
526
|
+
NIMQChatServerSearchType[NIMQChatServerSearchType["kNIMQChatServerSearchTypePersonal"] = 2] = "kNIMQChatServerSearchTypePersonal";
|
|
527
|
+
})(NIMQChatServerSearchType = exports.NIMQChatServerSearchType || (exports.NIMQChatServerSearchType = {}));
|
|
528
|
+
var NIMQChatInviteApplyRecordType;
|
|
529
|
+
(function (NIMQChatInviteApplyRecordType) {
|
|
530
|
+
/** 申请 */
|
|
531
|
+
NIMQChatInviteApplyRecordType[NIMQChatInviteApplyRecordType["kNIMQChatInviteApplyRecordTypeApply"] = 1] = "kNIMQChatInviteApplyRecordTypeApply";
|
|
532
|
+
/** 邀请 */
|
|
533
|
+
NIMQChatInviteApplyRecordType[NIMQChatInviteApplyRecordType["kNIMQChatInviteApplyRecordTypeInvite"] = 2] = "kNIMQChatInviteApplyRecordTypeInvite";
|
|
534
|
+
/** 被邀请 */
|
|
535
|
+
NIMQChatInviteApplyRecordType[NIMQChatInviteApplyRecordType["kNIMQChatInviteApplyRecordTypeBeInvited"] = 3] = "kNIMQChatInviteApplyRecordTypeBeInvited";
|
|
536
|
+
/** 生成邀请码 */
|
|
537
|
+
NIMQChatInviteApplyRecordType[NIMQChatInviteApplyRecordType["kNIMQChatInviteApplyRecordTypeGenerateInviteCode"] = 4] = "kNIMQChatInviteApplyRecordTypeGenerateInviteCode";
|
|
538
|
+
/** 通过邀请码加入 */
|
|
539
|
+
NIMQChatInviteApplyRecordType[NIMQChatInviteApplyRecordType["kNIMQChatInviteApplyRecordTypeJoinByInviteCode"] = 5] = "kNIMQChatInviteApplyRecordTypeJoinByInviteCode";
|
|
540
|
+
})(NIMQChatInviteApplyRecordType = exports.NIMQChatInviteApplyRecordType || (exports.NIMQChatInviteApplyRecordType = {}));
|
|
541
|
+
var NIMQChatInviteApplyRecordStatus;
|
|
542
|
+
(function (NIMQChatInviteApplyRecordStatus) {
|
|
543
|
+
/** 初始状态 */
|
|
544
|
+
NIMQChatInviteApplyRecordStatus[NIMQChatInviteApplyRecordStatus["kNIMQChatInviteApplyRecordStatusInitial"] = 0] = "kNIMQChatInviteApplyRecordStatusInitial";
|
|
545
|
+
/** 同意 */
|
|
546
|
+
NIMQChatInviteApplyRecordStatus[NIMQChatInviteApplyRecordStatus["kNIMQChatInviteApplyRecordStatusApprove"] = 1] = "kNIMQChatInviteApplyRecordStatusApprove";
|
|
547
|
+
/** 拒绝 */
|
|
548
|
+
NIMQChatInviteApplyRecordStatus[NIMQChatInviteApplyRecordStatus["kNIMQChatInviteApplyRecordStatusReject"] = 2] = "kNIMQChatInviteApplyRecordStatusReject";
|
|
549
|
+
/** 通过其他请求同意 */
|
|
550
|
+
NIMQChatInviteApplyRecordStatus[NIMQChatInviteApplyRecordStatus["kNIMQChatInviteApplyRecordStatusApproveByOtherRequest"] = 3] = "kNIMQChatInviteApplyRecordStatusApproveByOtherRequest";
|
|
551
|
+
/** 通过其他请求拒绝 */
|
|
552
|
+
NIMQChatInviteApplyRecordStatus[NIMQChatInviteApplyRecordStatus["kNIMQChatInviteApplyRecordStatusRejectByOtherRequest"] = 4] = "kNIMQChatInviteApplyRecordStatusRejectByOtherRequest";
|
|
553
|
+
/** 邀请/申请时自动加入 */
|
|
554
|
+
NIMQChatInviteApplyRecordStatus[NIMQChatInviteApplyRecordStatus["kNIMQChatInviteApplyRecordStatusAutoJoin"] = 5] = "kNIMQChatInviteApplyRecordStatusAutoJoin";
|
|
555
|
+
/** 过期 */
|
|
556
|
+
NIMQChatInviteApplyRecordStatus[NIMQChatInviteApplyRecordStatus["kNIMQChatInviteApplyRecordStatusExpired"] = 6] = "kNIMQChatInviteApplyRecordStatusExpired";
|
|
557
|
+
})(NIMQChatInviteApplyRecordStatus = exports.NIMQChatInviteApplyRecordStatus || (exports.NIMQChatInviteApplyRecordStatus = {}));
|
|
558
|
+
var NIMQChatSystemNotificationToType;
|
|
559
|
+
(function (NIMQChatSystemNotificationToType) {
|
|
560
|
+
NIMQChatSystemNotificationToType[NIMQChatSystemNotificationToType["kNIMQChatSystemNotificationToTypeUnknown"] = 0] = "kNIMQChatSystemNotificationToTypeUnknown"; /**< 默认值,需要由用户修改,否则报错 10414 参数错误 */
|
|
561
|
+
NIMQChatSystemNotificationToType[NIMQChatSystemNotificationToType["kNIMQChatSystemNotificationToTypeServer"] = 1] = "kNIMQChatSystemNotificationToTypeServer"; /**< 发送到 Server,server_id 必填 */
|
|
562
|
+
NIMQChatSystemNotificationToType[NIMQChatSystemNotificationToType["kNIMQChatSystemNotificationToTypeChannel"] = 2] = "kNIMQChatSystemNotificationToTypeChannel"; /**< 发送到 Channel,server_id 和 channel_id 必填 */
|
|
563
|
+
NIMQChatSystemNotificationToType[NIMQChatSystemNotificationToType["kNIMQChatSystemNotificationToTypeServerAccids"] = 3] = "kNIMQChatSystemNotificationToTypeServerAccids"; /**< 发送到 Server 中的指定用户,server_id 和 to_accids 必填 */
|
|
564
|
+
NIMQChatSystemNotificationToType[NIMQChatSystemNotificationToType["kNIMQChatSystemNotificationToTypeChannelAccids"] = 4] = "kNIMQChatSystemNotificationToTypeChannelAccids"; /**<发送到 Channel 中的指定用户,server_id、channel_id 和 to_accids 必填 */
|
|
565
|
+
NIMQChatSystemNotificationToType[NIMQChatSystemNotificationToType["kNIMQChatSystemNotificationToTypeAccids"] = 5] = "kNIMQChatSystemNotificationToTypeAccids"; /**< 发送给指定用户,to_accids 必填 */
|
|
566
|
+
})(NIMQChatSystemNotificationToType = exports.NIMQChatSystemNotificationToType || (exports.NIMQChatSystemNotificationToType = {}));
|
|
567
|
+
var NIMQChatSystemNotificationType;
|
|
568
|
+
(function (NIMQChatSystemNotificationType) {
|
|
569
|
+
/** 未知类型系统通知 */
|
|
570
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeUnkonwn"] = 0] = "kNIMQChatSystemNotificationTypeUnkonwn";
|
|
571
|
+
/** 服务器成员邀请 msg_data: NULL */
|
|
572
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberInvite"] = 1] = "kNIMQChatSystemNotificationTypeMemberInvite";
|
|
573
|
+
/** 服务器成员邀请被拒绝 msg_data: NULL */
|
|
574
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberInviteReject"] = 2] = "kNIMQChatSystemNotificationTypeMemberInviteReject";
|
|
575
|
+
/** 服务器成员申请 msg_data: NULL */
|
|
576
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberApply"] = 3] = "kNIMQChatSystemNotificationTypeMemberApply";
|
|
577
|
+
/** 服务器成员申请被拒绝 msg_data: NULL */
|
|
578
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberApplyReject"] = 4] = "kNIMQChatSystemNotificationTypeMemberApplyReject";
|
|
579
|
+
/** 服务器创建 msg_data: NIMQChatSystemNotificationDataServerCreate */
|
|
580
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerCreate"] = 5] = "kNIMQChatSystemNotificationTypeServerCreate";
|
|
581
|
+
/** 服务器解散 msg_data: NULL */
|
|
582
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerRemove"] = 6] = "kNIMQChatSystemNotificationTypeServerRemove";
|
|
583
|
+
/** 服务器更新 msg_data: NIMQChatSystemNotificationDataServerUpdate */
|
|
584
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerUpdate"] = 7] = "kNIMQChatSystemNotificationTypeServerUpdate";
|
|
585
|
+
/** 服务器成员邀请完成 msg_data: NIMQChatSystemNotificationDataMemberInviteDone */
|
|
586
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberInviteDone"] = 8] = "kNIMQChatSystemNotificationTypeMemberInviteDone";
|
|
587
|
+
/** 服务器成员邀请被接受 msg_data: NIMQChatSystemNotificationDataMemberInviteAccept */
|
|
588
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberInviteAccept"] = 9] = "kNIMQChatSystemNotificationTypeMemberInviteAccept";
|
|
589
|
+
/** 服务器成员申请完成 msg_data: NIMQChatSystemNotificationDataMemberApplyDone */
|
|
590
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberApplyDone"] = 10] = "kNIMQChatSystemNotificationTypeMemberApplyDone";
|
|
591
|
+
/** 服务器成员申请被接受 msg_data: NIMQChatSystemNotificationDataMemberApplyAccept */
|
|
592
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberApplyAccept"] = 11] = "kNIMQChatSystemNotificationTypeMemberApplyAccept";
|
|
593
|
+
/** 服务器成员被踢出 msg_data: NIMQChatSystemNotificationDataMemberKick */
|
|
594
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberKick"] = 12] = "kNIMQChatSystemNotificationTypeMemberKick";
|
|
595
|
+
/** 服务器成员离开 msg_data: NIMQChatSystemNotificationDataMemberLeave */
|
|
596
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberLeave"] = 13] = "kNIMQChatSystemNotificationTypeMemberLeave";
|
|
597
|
+
/** 服务器成员更新 msg_data: NIMQChatSystemNotificationDataMemberUpdate */
|
|
598
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberUpdate"] = 14] = "kNIMQChatSystemNotificationTypeMemberUpdate";
|
|
599
|
+
/** 频道创建 msg_data: NIMQChatSystemNotificationDataChannelCreate */
|
|
600
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelCreate"] = 15] = "kNIMQChatSystemNotificationTypeChannelCreate";
|
|
601
|
+
/** 频道解散 msg_data: NULL */
|
|
602
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelDelete"] = 16] = "kNIMQChatSystemNotificationTypeChannelDelete";
|
|
603
|
+
/** 频道更新 msg_data: NIMQChatSystemNotificationDataChannelUpdate */
|
|
604
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelUpdate"] = 17] = "kNIMQChatSystemNotificationTypeChannelUpdate";
|
|
605
|
+
/** 频道白/黑名单身份组更新 msg_data: NIMQChatSystemNotificationDataWhiteBlackRoleUpdate */
|
|
606
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeWhiteBlackRoleUpdate"] = 18] = "kNIMQChatSystemNotificationTypeWhiteBlackRoleUpdate";
|
|
607
|
+
/** 频道白/黑名单成员更新 msg_data: NIMQChatSystemNotificationDataWhiteBlackMembersUpdate */
|
|
608
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeWhiteBlackMembersUpdate"] = 19] = "kNIMQChatSystemNotificationTypeWhiteBlackMembersUpdate";
|
|
609
|
+
/** 添加或删除快捷评论通知 msg_data: NIMQChatSystemNotificationQuickCommentChanged */
|
|
610
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeQuickCommentChanged"] = 20] = "kNIMQChatSystemNotificationTypeQuickCommentChanged";
|
|
611
|
+
/** 创建频道分组 msg_data: NIMQChatSystemNotificationDataChannelCategoryCreate */
|
|
612
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelCategoryCreate"] = 21] = "kNIMQChatSystemNotificationTypeChannelCategoryCreate";
|
|
613
|
+
/** 删除频道分组 msg_data: NIMQChatSystemNotificationDataChannelCategoryRemove */
|
|
614
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelCategoryRemove"] = 22] = "kNIMQChatSystemNotificationTypeChannelCategoryRemove";
|
|
615
|
+
/** 更新频道分组 msg_data: NIMQChatSystemNotificationDataChannelCategoryUpdate */
|
|
616
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelCategoryUpdate"] = 23] = "kNIMQChatSystemNotificationTypeChannelCategoryUpdate";
|
|
617
|
+
/** 频道分组白/黑名单身份组更新 msg_data: NIMQChatSystemNotificationDataChannelCategoryWhiteBlackRoleUpdate */
|
|
618
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackRoleUpdate"] = 24] = "kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackRoleUpdate";
|
|
619
|
+
/** 频道分组白/黑名单成员更新 msg_data: NIMQChatSystemNotificationDataChannelCategoryWhiteBlackMembersUpdate */
|
|
620
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackMembersUpdate"] = 25] = "kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackMembersUpdate";
|
|
621
|
+
/** 服务器身份组加入成员 msg_data: NIMQChatSystemNotificationDataServerRoleAddMember */
|
|
622
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerRoleAddMember"] = 26] = "kNIMQChatSystemNotificationTypeServerRoleAddMember";
|
|
623
|
+
/** 服务器身份组移出成员 msg_data: NIMQChatSystemNotificationDataServerRoleRemoveMember */
|
|
624
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerRoleRemoveMember"] = 27] = "kNIMQChatSystemNotificationTypeServerRoleRemoveMember";
|
|
625
|
+
/** 服务器身份组权限变更 msg_data: NIMQChatSystemNotificationDataServerRolePermissionChange */
|
|
626
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerRolePermissionChange"] = 28] = "kNIMQChatSystemNotificationTypeServerRolePermissionChange";
|
|
627
|
+
/** 频道定制身份组权限变更 msg_data: NIMQChatSystemNotificationDataChannelRolePermissionChange */
|
|
628
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelRolePermissionChange"] = 29] = "kNIMQChatSystemNotificationTypeChannelRolePermissionChange";
|
|
629
|
+
/** 频道个人定制权限变更 msg_data: NIMQChatSystemNotificationDataMemberRolePermissionChange */
|
|
630
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMemberRolePermissionChange"] = 30] = "kNIMQChatSystemNotificationTypeMemberRolePermissionChange";
|
|
631
|
+
/** 频道对当前用户可见性变更 msg_data: NIMQChatSystemNotificationDataChannelVisibilityChange */
|
|
632
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelVisibilityChange"] = 31] = "kNIMQChatSystemNotificationTypeChannelVisibilityChange";
|
|
633
|
+
/** 当前用户进入/离开服务器 msg_data: NIMQChatSystemNotificationDataServerEnterLeave */
|
|
634
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerEnterLeave"] = 32] = "kNIMQChatSystemNotificationTypeServerEnterLeave";
|
|
635
|
+
/** 用户通过邀请码加入服务器 msg_data: NIMQChatSystemNotificationDataServerJoinByInviteCode */
|
|
636
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeServerJoinByInviteCode"] = 33] = "kNIMQChatSystemNotificationTypeServerJoinByInviteCode";
|
|
637
|
+
/** 频道对游客可见性变更 msg_data: NIMQChatSystemNotificationDataChannelGuestVisibilityChange */
|
|
638
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeChannelVisitorVisibilityChange"] = 34] = "kNIMQChatSystemNotificationTypeChannelVisitorVisibilityChange";
|
|
639
|
+
/** 当前用户服务器成员信息对IM资料的联动变更 msg_data: NIMQChatSystemNotificationDataMyMemberInfoUpdated */
|
|
640
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeMyMemberInfoUpdated"] = 35] = "kNIMQChatSystemNotificationTypeMyMemberInfoUpdated";
|
|
641
|
+
/** 自定义系统通知 msg_data: NULL */
|
|
642
|
+
NIMQChatSystemNotificationType[NIMQChatSystemNotificationType["kNIMQChatSystemNotificationTypeCustom"] = 100] = "kNIMQChatSystemNotificationTypeCustom";
|
|
643
|
+
})(NIMQChatSystemNotificationType = exports.NIMQChatSystemNotificationType || (exports.NIMQChatSystemNotificationType = {}));
|
|
644
|
+
var NIMQChatSystemNotificationStatus;
|
|
645
|
+
(function (NIMQChatSystemNotificationStatus) {
|
|
646
|
+
/** 普通状态 */
|
|
647
|
+
NIMQChatSystemNotificationStatus[NIMQChatSystemNotificationStatus["kNIMQChatSystemNotificationNormal"] = 0] = "kNIMQChatSystemNotificationNormal";
|
|
648
|
+
NIMQChatSystemNotificationStatus[NIMQChatSystemNotificationStatus["kNIMQChatSystemNotificationUser"] = 10000] = "kNIMQChatSystemNotificationUser"; // 大于10000为用户自定义状态
|
|
649
|
+
})(NIMQChatSystemNotificationStatus = exports.NIMQChatSystemNotificationStatus || (exports.NIMQChatSystemNotificationStatus = {}));
|
|
650
650
|
//# sourceMappingURL=public_def.js.map
|