node-nim 9.16.10 → 9.18.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.
Files changed (117) hide show
  1. package/README.md +58 -44
  2. package/dist/chatroom/chatroom.js +219 -0
  3. package/dist/chatroom/chatroom.js.map +1 -1
  4. package/dist/chatroom_def/chatroom_def.js +146 -73
  5. package/dist/chatroom_def/chatroom_def.js.map +1 -1
  6. package/dist/loader.js +1 -1
  7. package/dist/loader.js.map +1 -1
  8. package/dist/nim/client.js +1 -1
  9. package/dist/nim/client.js.map +1 -1
  10. package/dist/nim/data_sync.js.map +1 -1
  11. package/dist/nim/friend.js +9 -9
  12. package/dist/nim/friend.js.map +1 -1
  13. package/dist/nim/global.js.map +1 -1
  14. package/dist/nim/msglog.js +1 -1
  15. package/dist/nim/msglog.js.map +1 -1
  16. package/dist/nim/nos.js.map +1 -1
  17. package/dist/nim/online_session.js.map +1 -1
  18. package/dist/nim/pass_through_proxy.js +7 -7
  19. package/dist/nim/pass_through_proxy.js.map +1 -1
  20. package/dist/nim/plugin.js +3 -3
  21. package/dist/nim/plugin.js.map +1 -1
  22. package/dist/nim/session.js +49 -49
  23. package/dist/nim/session.js.map +1 -1
  24. package/dist/nim/subscribe_event.js +15 -15
  25. package/dist/nim/subscribe_event.js.map +1 -1
  26. package/dist/nim/super_team.js +63 -63
  27. package/dist/nim/super_team.js.map +1 -1
  28. package/dist/nim/sysmsg.js +14 -14
  29. package/dist/nim/sysmsg.js.map +1 -1
  30. package/dist/nim/talk.js +10 -10
  31. package/dist/nim/talk.js.map +1 -1
  32. package/dist/nim/talkex.js +27 -27
  33. package/dist/nim/talkex.js.map +1 -1
  34. package/dist/nim/team.js +86 -86
  35. package/dist/nim/team.js.map +1 -1
  36. package/dist/nim/tool.js.map +1 -1
  37. package/dist/nim/user.js +2 -2
  38. package/dist/nim/user.js.map +1 -1
  39. package/dist/nim_def/client_def.js +145 -118
  40. package/dist/nim_def/client_def.js.map +1 -1
  41. package/dist/nim_def/data_sync_def.js +18 -9
  42. package/dist/nim_def/data_sync_def.js.map +1 -1
  43. package/dist/nim_def/doc_trans_def.js +10 -5
  44. package/dist/nim_def/doc_trans_def.js.map +1 -1
  45. package/dist/nim_def/friend_def.js +28 -14
  46. package/dist/nim_def/friend_def.js.map +1 -1
  47. package/dist/nim_def/global_def.js +32 -16
  48. package/dist/nim_def/global_def.js.map +1 -1
  49. package/dist/nim_def/msglog_def.js +192 -116
  50. package/dist/nim_def/msglog_def.js.map +1 -1
  51. package/dist/nim_def/nos_def.js +12 -6
  52. package/dist/nim_def/nos_def.js.map +1 -1
  53. package/dist/nim_def/pass_through_proxy_def.js +5 -0
  54. package/dist/nim_def/pass_through_proxy_def.js.map +1 -1
  55. package/dist/nim_def/session_def.js +30 -15
  56. package/dist/nim_def/session_def.js.map +1 -1
  57. package/dist/nim_def/subscribe_event_def.js +32 -15
  58. package/dist/nim_def/subscribe_event_def.js.map +1 -1
  59. package/dist/nim_def/super_team_def.js +52 -27
  60. package/dist/nim_def/super_team_def.js.map +1 -1
  61. package/dist/nim_def/sysmsg_def.js +32 -17
  62. package/dist/nim_def/sysmsg_def.js.map +1 -1
  63. package/dist/nim_def/team_def.js +56 -29
  64. package/dist/nim_def/team_def.js.map +1 -1
  65. package/dist/nim_def/tool_def.js +8 -4
  66. package/dist/nim_def/tool_def.js.map +1 -1
  67. package/dist/nim_def/user_def.js +16 -8
  68. package/dist/nim_def/user_def.js.map +1 -1
  69. package/dist/node-nim.js +19 -0
  70. package/dist/node-nim.js.map +1 -1
  71. package/dist/qchat/attachment.js.map +1 -1
  72. package/dist/qchat/channel.js.map +1 -1
  73. package/dist/qchat/channel_category.js.map +1 -1
  74. package/dist/qchat/instance.js.map +1 -1
  75. package/dist/qchat/message.js.map +1 -1
  76. package/dist/qchat/role.js.map +1 -1
  77. package/dist/qchat/server.js.map +1 -1
  78. package/dist/qchat/system_notification.js.map +1 -1
  79. package/dist/qchat_def/public_def.js +8 -1
  80. package/dist/qchat_def/public_def.js.map +1 -1
  81. package/package.json +9 -6
  82. package/types/chatroom/chatroom.d.ts +219 -0
  83. package/types/chatroom_def/chatroom_def.d.ts +150 -74
  84. package/types/nim/client.d.ts +1 -1
  85. package/types/nim/friend.d.ts +9 -9
  86. package/types/nim/msglog.d.ts +1 -1
  87. package/types/nim/pass_through_proxy.d.ts +7 -7
  88. package/types/nim/plugin.d.ts +3 -3
  89. package/types/nim/session.d.ts +49 -49
  90. package/types/nim/subscribe_event.d.ts +15 -15
  91. package/types/nim/super_team.d.ts +63 -63
  92. package/types/nim/sysmsg.d.ts +14 -14
  93. package/types/nim/talk.d.ts +10 -10
  94. package/types/nim/talkex.d.ts +27 -27
  95. package/types/nim/team.d.ts +86 -86
  96. package/types/nim/user.d.ts +2 -2
  97. package/types/nim_def/client_def.d.ts +321 -126
  98. package/types/nim_def/data_sync_def.d.ts +18 -9
  99. package/types/nim_def/doc_trans_def.d.ts +10 -5
  100. package/types/nim_def/friend_def.d.ts +52 -26
  101. package/types/nim_def/global_def.d.ts +32 -16
  102. package/types/nim_def/msglog_def.d.ts +448 -218
  103. package/types/nim_def/nos_def.d.ts +62 -31
  104. package/types/nim_def/online_session_def.d.ts +21 -9
  105. package/types/nim_def/pass_through_proxy_def.d.ts +5 -0
  106. package/types/nim_def/session_def.d.ts +92 -46
  107. package/types/nim_def/subscribe_event_def.d.ts +75 -35
  108. package/types/nim_def/super_team_def.d.ts +74 -36
  109. package/types/nim_def/sysmsg_def.d.ts +78 -40
  110. package/types/nim_def/talk_def.d.ts +77 -20
  111. package/types/nim_def/talkex_def.d.ts +92 -46
  112. package/types/nim_def/team_def.d.ts +93 -39
  113. package/types/nim_def/tool_def.d.ts +16 -8
  114. package/types/nim_def/user_def.d.ts +52 -26
  115. package/types/node-nim.d.ts +19 -0
  116. package/types/qchat_def/public_def.d.ts +6 -0
  117. package/types/qchat_def/role_def.d.ts +3 -1
@@ -13,10 +13,10 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
13
13
  initEventHandlers(): void;
14
14
  /** 创建群组
15
15
  * @param team_info 群组信息
16
- * @param ids 邀请对象id
16
+ * @param ids 邀请对象id
17
17
  * @param invitation_postscript 邀请附言
18
18
  * @param jsonExtension json扩展参数(备用,目前不需要)
19
- * @param cb 群通知的回调函数
19
+ * @param cb 群通知的回调函数
20
20
  * @return boolean 检查参数如果不符合要求则返回失败
21
21
  * @deprecated 该接口已过时,请使用 createTeamAsyncEx 创建群组
22
22
  * @note
@@ -31,10 +31,10 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
31
31
  createTeamAsync(info: TeamInfo, ids: Array<string>, invitationPostscript: string, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
32
32
  /** 创建群组
33
33
  * @param team_info 群组信息
34
- * @param ids 邀请对象id
34
+ * @param ids 邀请对象id
35
35
  * @param invitation_postscript 邀请附言
36
36
  * @param jsonExtension json扩展参数(备用,目前不需要)
37
- * @param cb 群通知的回调函数
37
+ * @param cb 群通知的回调函数
38
38
  * @return boolean 检查参数如果不符合要求则返回失败
39
39
  * @note
40
40
  * <pre>
@@ -47,9 +47,9 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
47
47
  */
48
48
  createTeamAsyncEx(info: TeamInfo, ids: Array<string>, invitationPostscript: string, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
49
49
  /** 解散群
50
- * @param tid 群组id
50
+ * @param tid 群组id
51
51
  * @param jsonExtension json扩展参数(备用,目前不需要)
52
- * @param cb 解散群的回调函数
52
+ * @param cb 解散群的回调函数
53
53
  * @return boolean 检查参数如果不符合要求则返回失败
54
54
  * @note
55
55
  * <pre>
@@ -60,12 +60,12 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
60
60
  */
61
61
  dismissAsync(tid: string, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
62
62
  /** 邀请
63
- * @param tid 群组id
64
- * @param ids 邀请对象id
63
+ * @param tid 群组id
64
+ * @param ids 邀请对象id
65
65
  * @param invitation_postscript 邀请附言
66
66
  * @param invitation_attachment 用户可自定义的补充邀请信息
67
67
  * @param jsonExtension json扩展参数(备用,目前不需要)
68
- * @param cb 邀请的回调函数
68
+ * @param cb 邀请的回调函数
69
69
  * @return boolean 检查参数如果不符合要求则返回失败
70
70
  * @note
71
71
  * <pre>
@@ -79,10 +79,10 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
79
79
  */
80
80
  inviteAsync(tid: string, ids: Array<string>, invitationPostscript: string, invitationAttachment: string, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
81
81
  /** 踢人
82
- * @param tid 群组id
83
- * @param ids 被踢对象id
82
+ * @param tid 群组id
83
+ * @param ids 被踢对象id
84
84
  * @param jsonExtension json扩展参数(备用,目前不需要)
85
- * @param cb 踢人的回调函数
85
+ * @param cb 踢人的回调函数
86
86
  * @return boolean 检查参数如果不符合要求则返回失败
87
87
  * @note
88
88
  * <pre>
@@ -96,9 +96,9 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
96
96
  */
97
97
  kickAsync(tid: string, ids: Array<string>, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
98
98
  /** 离开群
99
- * @param tid 群组id
99
+ * @param tid 群组id
100
100
  * @param jsonExtension json扩展参数(备用,目前不需要)
101
- * @param cb 离开群的回调函数
101
+ * @param cb 离开群的回调函数
102
102
  * @return boolean 检查参数如果不符合要求则返回失败
103
103
  * @note
104
104
  * <pre>
@@ -111,10 +111,10 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
111
111
  */
112
112
  leaveAsync(tid: string, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
113
113
  /** 更新群信息
114
- * @param tid 群组id
115
- * @param team_info 群组信息
114
+ * @param tid 群组id
115
+ * @param team_info 群组信息
116
116
  * @param jsonExtension json扩展参数(备用,目前不需要)
117
- * @param cb 更新群信息的回调函数
117
+ * @param cb 更新群信息的回调函数
118
118
  * @return boolean 检查参数如果不符合要求则返回失败
119
119
  * @note
120
120
  * <pre>
@@ -125,10 +125,10 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
125
125
  */
126
126
  updateTeamInfoAsync(tid: string, info: TeamInfo, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
127
127
  /** 申请入群
128
- * @param tid 群组id
129
- * @param reason 附言
128
+ * @param tid 群组id
129
+ * @param reason 附言
130
130
  * @param jsonExtension json扩展参数(备用,目前不需要)
131
- * @param cb 申请入群的回调函数
131
+ * @param cb 申请入群的回调函数
132
132
  * @return boolean 检查参数如果不符合要求则返回失败
133
133
  * @note
134
134
  * <pre>
@@ -143,10 +143,10 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
143
143
  */
144
144
  applyJoinAsync(tid: string, reason: string, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
145
145
  /** 同意入群申请
146
- * @param tid 群组id
147
- * @param applicant_id 申请者id
146
+ * @param tid 群组id
147
+ * @param applicant_id 申请者id
148
148
  * @param jsonExtension json扩展参数(备用,目前不需要)
149
- * @param cb 同意入群申请的回调函数
149
+ * @param cb 同意入群申请的回调函数
150
150
  * @return boolean 检查参数如果不符合要求则返回失败
151
151
  * @note
152
152
  * <pre>
@@ -161,11 +161,11 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
161
161
  */
162
162
  passJoinApplyAsync(tid: string, applicantId: string, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
163
163
  /** 拒绝入群申请
164
- * @param tid 群组id
165
- * @param applicant_id 申请者id
166
- * @param reason 附言
164
+ * @param tid 群组id
165
+ * @param applicant_id 申请者id
166
+ * @param reason 附言
167
167
  * @param jsonExtension json扩展参数(备用,目前不需要)
168
- * @param cb 拒绝入群申请的回调函数
168
+ * @param cb 拒绝入群申请的回调函数
169
169
  * @return boolean 检查参数如果不符合要求则返回失败
170
170
  * @note
171
171
  * <pre>
@@ -178,10 +178,10 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
178
178
  */
179
179
  rejectJoinApplyAsync(tid: string, applicantId: string, reason: string, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
180
180
  /** 添加管理员
181
- * @param tid 群组id
182
- * @param ids 管理员id
181
+ * @param tid 群组id
182
+ * @param ids 管理员id
183
183
  * @param jsonExtension json扩展参数(备用,目前不需要)
184
- * @param cb 添加管理员的回调函数
184
+ * @param cb 添加管理员的回调函数
185
185
  * @return boolean 检查参数如果不符合要求则返回失败
186
186
  * @note
187
187
  * <pre>
@@ -193,10 +193,10 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
193
193
  */
194
194
  addManagersAsync(tid: string, ids: Array<string>, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
195
195
  /** 删除管理员
196
- * @param tid 群组id
197
- * @param ids 管理员id
196
+ * @param tid 群组id
197
+ * @param ids 管理员id
198
198
  * @param jsonExtension json扩展参数(备用,目前不需要)
199
- * @param cb 删除管理员的回调函数
199
+ * @param cb 删除管理员的回调函数
200
200
  * @return boolean 检查参数如果不符合要求则返回失败
201
201
  * @note
202
202
  * <pre>
@@ -208,11 +208,11 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
208
208
  */
209
209
  removeManagersAsync(tid: string, ids: Array<string>, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
210
210
  /** 移交群主
211
- * @param tid 群组id
212
- * @param new_owner_id 移交对象id
213
- * @param is_leave 是否同时退出群
211
+ * @param tid 群组id
212
+ * @param new_owner_id 移交对象id
213
+ * @param is_leave 是否同时退出群
214
214
  * @param jsonExtension json扩展参数(备用,目前不需要)
215
- * @param cb 移交群主的回调函数
215
+ * @param cb 移交群主的回调函数
216
216
  * @return boolean 检查参数如果不符合要求则返回失败
217
217
  * @note
218
218
  * <pre>
@@ -225,9 +225,9 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
225
225
  */
226
226
  transferTeamAsync(tid: string, newOwnerId: string, isLeave: boolean, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
227
227
  /** 更新自己的群属性
228
- * @param prop 群成员属性
228
+ * @param prop 群成员属性
229
229
  * @param jsonExtension json扩展参数(备用,目前不需要)
230
- * @param cb 更新自己的群属性的回调函数
230
+ * @param cb 更新自己的群属性的回调函数
231
231
  * @return boolean 检查参数如果不符合要求则返回失败
232
232
  * @note
233
233
  * <pre>
@@ -253,9 +253,9 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
253
253
  */
254
254
  removeTeamMembersFollow(tid: string, account_ids: Array<string>, cb: TeamEventCallback): Promise<[TeamEvent] | null>;
255
255
  /** 修改别人的群昵称
256
- * @param prop 群成员属性
256
+ * @param prop 群成员属性
257
257
  * @param jsonExtension json扩展参数(备用,目前不需要)
258
- * @param cb 修改别人的群昵称的回调函数
258
+ * @param cb 修改别人的群昵称的回调函数
259
259
  * @return boolean 检查参数如果不符合要求则返回失败
260
260
  * @note
261
261
  * <pre>
@@ -268,10 +268,10 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
268
268
  */
269
269
  updateOtherNickAsync(prop: TeamMemberProperty, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
270
270
  /** 接受邀请
271
- * @param tid 群组id
272
- * @param invitor_id 邀请者id
271
+ * @param tid 群组id
272
+ * @param invitor_id 邀请者id
273
273
  * @param jsonExtension json扩展参数(备用,目前不需要)
274
- * @param cb 接受邀请的回调函数
274
+ * @param cb 接受邀请的回调函数
275
275
  * @return boolean 检查参数如果不符合要求则返回失败
276
276
  * @note
277
277
  * <pre>
@@ -283,11 +283,11 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
283
283
  */
284
284
  acceptInvitationAsync(tid: string, inviterId: string, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
285
285
  /** 拒绝邀请
286
- * @param tid 群组id
287
- * @param invitor_id 邀请者id
288
- * @param reason 附言
286
+ * @param tid 群组id
287
+ * @param invitor_id 邀请者id
288
+ * @param reason 附言
289
289
  * @param jsonExtension json扩展参数(备用,目前不需要)
290
- * @param cb 拒绝邀请的回调函数
290
+ * @param cb 拒绝邀请的回调函数
291
291
  * @return boolean 检查参数如果不符合要求则返回失败
292
292
  * @note
293
293
  * <pre>
@@ -300,26 +300,26 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
300
300
  rejectInvitationAsync(tid: string, inviterId: string, reason: string, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
301
301
  /** 查询所有群
302
302
  * @param jsonExtension json扩展参数(备用,目前不需要)
303
- * @param cb 查询所有群的回调函数
303
+ * @param cb 查询所有群的回调函数
304
304
  * @return void 无返回值
305
305
  */
306
306
  queryAllMyTeamsAsync(cb: QueryAllMyTeamsCallback | null, jsonExtension: string): Promise<[number, Array<string>]>;
307
307
  /** 查询所有群信息
308
308
  * @param jsonExtension json扩展参数(备用,目前不需要)
309
- * @param cb 查询所有群信息的回调函数
309
+ * @param cb 查询所有群信息的回调函数
310
310
  * @return void 无返回值
311
311
  */
312
312
  queryAllMyTeamsInfoAsync(cb: QueryAllMyTeamsInfoCallback | null, jsonExtension: string): Promise<[number, Array<TeamInfo>]>;
313
313
  /** 查询所有群里我的成员信息(使用场景:获取了所有群列表后,需要查询自己在每个群里自己的成员信息,使用成员信息里的bits字段,可以判断当某个群发来消息后,是否做消息通知)
314
314
  * @param jsonExtension json扩展参数(备用,目前不需要)
315
- * @param cb 查询所有群里我的成员信息的回调函数
315
+ * @param cb 查询所有群里我的成员信息的回调函数
316
316
  * @return void 无返回值
317
317
  */
318
318
  queryMyAllMemberInfosAsync(cb: QueryTeamMyAllMemberInfosCallback | null, jsonExtension: string): Promise<[number, Array<TeamMemberProperty>]>;
319
319
  /** 查询群成员
320
- * @param tid 群组id
320
+ * @param tid 群组id
321
321
  * @param jsonExtension json扩展参数(备用,目前不需要)
322
- * @param cb 查询群成员的回调函数
322
+ * @param cb 查询群成员的回调函数
323
323
  * @return boolean 检查参数如果不符合要求则返回失败
324
324
  * @note
325
325
  * <pre>
@@ -330,24 +330,24 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
330
330
  */
331
331
  queryTeamMembersAsync(tid: string, cb: QueryTeamMembersCallback | null, jsonExtension: string): Promise<[string, number, Array<TeamMemberProperty>] | null>;
332
332
  /** 查询(单个)群成员信息
333
- * @param tid 群组id
334
- * @param id 群成员id
333
+ * @param tid 群组id
334
+ * @param id 群成员id
335
335
  * @param jsonExtension json扩展参数(备用,目前不需要)
336
- * @param cb 查询群成员的回调函数
336
+ * @param cb 查询群成员的回调函数
337
337
  * @return boolean 检查参数如果不符合要求则返回失败
338
338
  */
339
339
  queryTeamMemberAsync(tid: string, id: string, cb: QueryTeamMemberCallback | null, jsonExtension: string): Promise<[TeamMemberProperty]>;
340
340
  /** 查询群信息
341
- * @param tid 群组id
341
+ * @param tid 群组id
342
342
  * @param jsonExtension json扩展参数(备用,目前不需要)
343
- * @param cb 查询群信息的回调函数
343
+ * @param cb 查询群信息的回调函数
344
344
  * @return boolean 检查参数如果不符合要求则返回失败
345
345
  */
346
346
  queryTeamInfoAsync(tid: string, cb: QueryTeamInfoCallback | null, jsonExtension: string): Promise<[string, TeamInfo] | null>;
347
347
  /** 获取群信息(从服务器获取)
348
- * @param tid 群组id
348
+ * @param tid 群组id
349
349
  * @param jsonExtension json扩展参数(备用,目前不需要)
350
- * @param cb 获取群信息的回调函数
350
+ * @param cb 获取群信息的回调函数
351
351
  * @return boolean 检查参数如果不符合要求则返回失败
352
352
  * @note
353
353
  * <pre>
@@ -357,11 +357,11 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
357
357
  */
358
358
  queryTeamInfoOnlineAsync(tid: string, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
359
359
  /** 禁言/解除禁言
360
- * @param tid 群组id
361
- * @param member_id 操作对象id
362
- * @param set_mute 禁言/解除禁言
360
+ * @param tid 群组id
361
+ * @param member_id 操作对象id
362
+ * @param set_mute 禁言/解除禁言
363
363
  * @param jsonExtension json扩展参数(备用,目前不需要)
364
- * @param cb 踢人的回调函数
364
+ * @param cb 踢人的回调函数
365
365
  * @return boolean 检查参数如果不符合要求则返回失败
366
366
  * @note
367
367
  * <pre>
@@ -374,10 +374,10 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
374
374
  */
375
375
  muteMemberAsync(tid: string, member_id: string, set_mute: boolean, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
376
376
  /** 群禁言/解除群禁言
377
- * @param tid 群组id
378
- * @param set_mute 禁言/解除禁言
377
+ * @param tid 群组id
378
+ * @param set_mute 禁言/解除禁言
379
379
  * @param jsonExtension json扩展参数(备用,目前不需要)
380
- * @param cb 踢人的回调函数
380
+ * @param cb 踢人的回调函数
381
381
  * @return boolean 检查参数如果不符合要求则返回失败
382
382
  * @note
383
383
  * <pre>
@@ -387,8 +387,8 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
387
387
  */
388
388
  muteAsync(tid: string, set_mute: boolean, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent] | null>;
389
389
  /** 获取群禁言成员列表
390
- * @param tid 群组id
391
- * @param cb 回调函数
390
+ * @param tid 群组id
391
+ * @param cb 回调函数
392
392
  * @param jsonExtension json扩展参数(备用,目前不需要)
393
393
  * @return boolean 检查参数如果不符合要求则返回失败
394
394
  * @note
@@ -400,10 +400,10 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
400
400
  */
401
401
  queryMuteListOnlineAsync(tid: string, cb: QueryTeamMembersOnlineCallback | null, jsonExtension: string): Promise<[NIMResCode, number, Array<TeamMemberProperty>] | null>;
402
402
  /** 群消息回执
403
- * @param tid 群组id
404
- * @param msgs 需要发送消息回执的群消息
403
+ * @param tid 群组id
404
+ * @param msgs 需要发送消息回执的群消息
405
405
  * @param jsonExtension json扩展参数(备用,目前不需要)
406
- * @param cb 回调函数
406
+ * @param cb 回调函数
407
407
  * @return void 无返回值
408
408
  * @note
409
409
  * <pre>
@@ -427,9 +427,9 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
427
427
  */
428
428
  teamMsgQueryUnreadList(tid: string, msg: IMMessage, accids: Array<string>, cb: TeamEventCallback | null, jsonExtension: string): Promise<[TeamEvent]>;
429
429
  /** 查询群成员的邀请人 accid 由接口 原 TeamQueryTeamMembersInvitor方法
430
- * @param tid 群组id
431
- * @param members 要查询 的群成员accid列表
432
- * @param cb 回调函数
430
+ * @param tid 群组id
431
+ * @param members 要查询 的群成员accid列表
432
+ * @param cb 回调函数
433
433
  * @return void 无返回值
434
434
  * @note
435
435
  * <pre>
@@ -438,31 +438,31 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
438
438
  */
439
439
  queryTeamMembersInvitor(tid: string, members: Array<string>, cb: QueryTeamMembersInvitorCallback | null): Promise<[NIMResCode, number, Map<string, string>]>;
440
440
  /** 查询群信息
441
- * @param keyword 要查询的关键字
442
- * @param cb 查询群信息的回调函数
441
+ * @param keyword 要查询的关键字
442
+ * @param cb 查询群信息的回调函数
443
443
  * @param jsonExtension json扩展参数(备用,目前不需要)
444
444
  * @return boolean 检查参数如果不符合要求则返回失败
445
445
  */
446
446
  queryTeamInfoByKeywordAsync(keyword: string, cb: QueryTeamsInfoCallback | null, jsonExtension: string): Promise<[number, Array<TeamInfo>]>;
447
447
  /** 更新群信息
448
- * @param tid 群组id
449
- * @param team_infos 群组信息
450
- * @param notify_event 更新后是否触发事件以通知应用层
451
- * @param cb 更新群信息的回调函数,回调中会指明更新成功与失败的群ID
448
+ * @param tid 群组id
449
+ * @param team_infos 群组信息
450
+ * @param notify_event 更新后是否触发事件以通知应用层
451
+ * @param cb 更新群信息的回调函数,回调中会指明更新成功与失败的群ID
452
452
  * @param jsonExtension json扩展参数(备用,目前不需要)
453
453
  * @return void
454
454
  */
455
455
  updateTInfoLocal(infos: Array<TeamInfo>, cb: UpdateTInfoLocalCallback | null, jsonExtension: string): Promise<[Array<string>, Array<string>]>;
456
456
  /** 查询所有群
457
- * @param cb 查询所有群的回调函数
458
- * @param time_tag 时间戳,没有特殊需求此参数赋0
457
+ * @param cb 查询所有群的回调函数
458
+ * @param time_tag 时间戳,没有特殊需求此参数赋0
459
459
  * @param jsonExtension json扩展参数(备用,目前不需要)
460
460
  * @return void 无返回值
461
461
  */
462
462
  getTeamInfoBatchTrans(cb: GetTeamInfoBatchSFTransCallback | null, time_tag: number, jsonExtension: string): Promise<[number, Array<TeamInfo>]>;
463
463
  /** 查询给定的一组群ID详细信息
464
- * @param tid_list 群组id列表,最多10个
465
- * @param cb 查询给定的一组群ID详细信息的回调模板
464
+ * @param tid_list 群组id列表,最多10个
465
+ * @param cb 查询给定的一组群ID详细信息的回调模板
466
466
  * @return void 无返回值
467
467
  * @note
468
468
  * <pre>
@@ -473,7 +473,7 @@ export declare class NIMTeam extends EventEmitter<NIMTeamEvents> {
473
473
  */
474
474
  getTeaminfoList(tids: Array<string>, cb: GetTeamInfoListCallback | null): Promise<[NIMResCode, Array<TeamInfo>, Array<string>]>;
475
475
  /** 根据成员类型获取群成员
476
- * @param tid 群组id
476
+ * @param tid 群组id
477
477
  * @param option 获取群成员选项
478
478
  * @return boolean 检查参数如果不符合要求则返回失败
479
479
  */
@@ -95,8 +95,8 @@ export declare class NIMUser extends EventEmitter<NIMUserEvents> {
95
95
  */
96
96
  updateMyUserNameCard(nameCard: UserNameCard, cb: UpdateMyUserNameCardCallback | null, jsonExtension: string): Promise<[NIMResCode] | null>;
97
97
  /** 获取本地的指定帐号的用户名片
98
- * @param keyword 要查询的关键字
99
- * @param cb 操作结果回调
98
+ * @param keyword 要查询的关键字
99
+ * @param cb 操作结果回调
100
100
  * @param jsonExtension json扩展参数(备用,目前不需要)
101
101
  * @return boolean 检查参数如果不符合要求则返回失败
102
102
  */