@tencentcloud/sdk-mcp 1.0.2 → 1.0.4

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 (115) hide show
  1. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/config.d.ts +14 -14
  2. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/global.d.ts +1 -1
  3. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/index.d.ts +9 -9
  4. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/report-ignore.d.ts +2 -2
  5. package/@tencent/aegis-node-sdk/lib/packages/core/src/core.d.ts +85 -85
  6. package/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/afterRequestHooks.d.ts +3 -3
  7. package/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/beforeRequestHooks.d.ts +9 -9
  8. package/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/modifyRequestHooks.d.ts +3 -3
  9. package/@tencent/aegis-node-sdk/lib/packages/core/src/index.d.ts +9 -9
  10. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/config.d.ts +62 -62
  11. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/env.d.ts +11 -11
  12. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/index.d.ts +4 -4
  13. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/log.d.ts +130 -130
  14. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/send.d.ts +34 -34
  15. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/format.d.ts +2 -2
  16. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/index.d.ts +18 -18
  17. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/length-limit.d.ts +8 -8
  18. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/pv.d.ts +8 -8
  19. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/remove-payload.d.ts +2 -2
  20. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/repeat-limit.d.ts +4 -4
  21. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/report.d.ts +10 -10
  22. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/sample.d.ts +3 -3
  23. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/throttle.d.ts +3 -3
  24. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/index.d.ts +34 -34
  25. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/jwt.d.ts +12 -12
  26. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/ot-js.d.ts +14 -14
  27. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/uuid.d.ts +2 -2
  28. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/whitelist.d.ts +12 -12
  29. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/write-before.d.ts +3 -3
  30. package/@tencent/aegis-node-sdk/lib/packages/core/src/plugin.d.ts +33 -33
  31. package/@tencent/aegis-node-sdk/lib/packages/core/src/util/destroy.d.ts +2 -2
  32. package/@tencent/aegis-node-sdk/lib/packages/core/src/util/event-emitter.d.ts +18 -18
  33. package/@tencent/aegis-node-sdk/lib/packages/core/src/util/index.d.ts +60 -60
  34. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/index.d.ts +15 -15
  35. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/interface/selector.d.ts +5 -5
  36. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/pipes/batch-report-pipe.d.ts +6 -6
  37. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/protocol/protocol_base.d.ts +18 -18
  38. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/protocol/protocol_http.d.ts +12 -12
  39. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/ip_selector.d.ts +10 -10
  40. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/polaris_selector.d.ts +20 -20
  41. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/selector_base.d.ts +27 -27
  42. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/util/eval_require.d.ts +2 -2
  43. package/mcp-server-prompt.png +0 -0
  44. package/mcp.json +9 -9
  45. package/package.json +1 -1
  46. package/resource/doc/chatuikit/android/client_api_android.md +1377 -0
  47. package/resource/doc/chatuikit/android/integrate_tuichat_only_android.md +382 -0
  48. package/resource/doc/chatuikit/android/integrate_tuikit_android.md +612 -0
  49. package/resource/doc/chatuikit/android/ui_api_android.md +418 -0
  50. package/resource/doc/chatuikit/faq/freq_qa.md +86 -0
  51. package/resource/doc/chatuikit/faq/sdk_qa.md +117 -0
  52. package/resource/doc/chatuikit/faq/vue_qa.md +344 -0
  53. package/resource/doc/chatuikit/faq/web_qa.md +118 -0
  54. package/resource/doc/chatuikit/flutter/client_api_Flutter.md +939 -0
  55. package/resource/doc/chatuikit/flutter/integrate_tuikit_Flutter.md +1432 -0
  56. package/resource/doc/chatuikit/iOS/client_api_iOS.md +1371 -0
  57. package/resource/doc/chatuikit/iOS/integrate_tuichat_only_iOS.md +993 -0
  58. package/resource/doc/chatuikit/iOS/integrate_tuikit_iOS.md +1427 -0
  59. package/resource/doc/chatuikit/iOS/ui_api_iOS.md +526 -0
  60. package/resource/doc/chatuikit/react/integrate_tuichat_only_react.md +185 -0
  61. package/resource/doc/chatuikit/react/integrate_tuichat_react.md +212 -0
  62. package/resource/doc/chatuikit/vue/integrate_tuichat_only_vue.md +149 -0
  63. package/resource/doc/chatuikit/vue/integrate_tuichat_vue.md +248 -0
  64. package/server.js +57 -33
  65. package/server.js.map +1 -1
  66. package/@tencent/polaris/node_modules/axios/CHANGELOG.md +0 -891
  67. package/@tencent/polaris/node_modules/axios/LICENSE +0 -19
  68. package/@tencent/polaris/node_modules/axios/README.md +0 -908
  69. package/@tencent/polaris/node_modules/axios/SECURITY.md +0 -5
  70. package/@tencent/polaris/node_modules/axios/UPGRADE_GUIDE.md +0 -168
  71. package/@tencent/polaris/node_modules/axios/dist/axios.js +0 -2277
  72. package/@tencent/polaris/node_modules/axios/dist/axios.map +0 -1
  73. package/@tencent/polaris/node_modules/axios/dist/axios.min.js +0 -4
  74. package/@tencent/polaris/node_modules/axios/dist/axios.min.map +0 -1
  75. package/@tencent/polaris/node_modules/axios/index.d.ts +0 -221
  76. package/@tencent/polaris/node_modules/axios/index.js +0 -1
  77. package/@tencent/polaris/node_modules/axios/lib/adapters/README.md +0 -37
  78. package/@tencent/polaris/node_modules/axios/lib/adapters/http.js +0 -388
  79. package/@tencent/polaris/node_modules/axios/lib/adapters/xhr.js +0 -212
  80. package/@tencent/polaris/node_modules/axios/lib/axios.js +0 -57
  81. package/@tencent/polaris/node_modules/axios/lib/cancel/Cancel.js +0 -19
  82. package/@tencent/polaris/node_modules/axios/lib/cancel/CancelToken.js +0 -119
  83. package/@tencent/polaris/node_modules/axios/lib/cancel/isCancel.js +0 -5
  84. package/@tencent/polaris/node_modules/axios/lib/core/Axios.js +0 -155
  85. package/@tencent/polaris/node_modules/axios/lib/core/InterceptorManager.js +0 -54
  86. package/@tencent/polaris/node_modules/axios/lib/core/README.md +0 -8
  87. package/@tencent/polaris/node_modules/axios/lib/core/buildFullPath.js +0 -20
  88. package/@tencent/polaris/node_modules/axios/lib/core/createError.js +0 -18
  89. package/@tencent/polaris/node_modules/axios/lib/core/dispatchRequest.js +0 -87
  90. package/@tencent/polaris/node_modules/axios/lib/core/enhanceError.js +0 -43
  91. package/@tencent/polaris/node_modules/axios/lib/core/mergeConfig.js +0 -99
  92. package/@tencent/polaris/node_modules/axios/lib/core/settle.js +0 -25
  93. package/@tencent/polaris/node_modules/axios/lib/core/transformData.js +0 -22
  94. package/@tencent/polaris/node_modules/axios/lib/defaults.js +0 -134
  95. package/@tencent/polaris/node_modules/axios/lib/env/README.md +0 -3
  96. package/@tencent/polaris/node_modules/axios/lib/env/data.js +0 -3
  97. package/@tencent/polaris/node_modules/axios/lib/helpers/README.md +0 -7
  98. package/@tencent/polaris/node_modules/axios/lib/helpers/bind.js +0 -11
  99. package/@tencent/polaris/node_modules/axios/lib/helpers/buildURL.js +0 -70
  100. package/@tencent/polaris/node_modules/axios/lib/helpers/combineURLs.js +0 -14
  101. package/@tencent/polaris/node_modules/axios/lib/helpers/cookies.js +0 -53
  102. package/@tencent/polaris/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
  103. package/@tencent/polaris/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
  104. package/@tencent/polaris/node_modules/axios/lib/helpers/isAxiosError.js +0 -13
  105. package/@tencent/polaris/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
  106. package/@tencent/polaris/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
  107. package/@tencent/polaris/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
  108. package/@tencent/polaris/node_modules/axios/lib/helpers/spread.js +0 -27
  109. package/@tencent/polaris/node_modules/axios/lib/helpers/toFormData.js +0 -55
  110. package/@tencent/polaris/node_modules/axios/lib/helpers/validator.js +0 -82
  111. package/@tencent/polaris/node_modules/axios/lib/utils.js +0 -349
  112. package/@tencent/polaris/node_modules/axios/package.json +0 -86
  113. package/@tencent/polaris/node_modules/axios/tsconfig.json +0 -14
  114. package/@tencent/polaris/node_modules/axios/tslint.json +0 -6
  115. package/resource/doc/tuicallkit/vue/api_TUICallObserver.md +0 -926
@@ -0,0 +1,418 @@
1
+ ## 全局设置
2
+ <table>
3
+ <tr>
4
+ <td rowspan="1" colSpan="1" >API</td>
5
+
6
+ <td rowspan="1" colSpan="1" >描述</td>
7
+ </tr>
8
+
9
+ <tr>
10
+ <td rowspan="1" colSpan="1" >[switchLanguage](https://write.woa.com/document/159689165809283072)</td>
11
+
12
+ <td rowspan="1" colSpan="1" >设置界面语言。</td>
13
+ </tr>
14
+
15
+ <tr>
16
+ <td rowspan="1" colSpan="1" >[switchTheme](https://write.woa.com/document/159689165809283072)</td>
17
+
18
+ <td rowspan="1" colSpan="1" >设置界面主题。</td>
19
+ </tr>
20
+
21
+ <tr>
22
+ <td rowspan="1" colSpan="1" >[enableToast](https://write.woa.com/document/159689165809283072)</td>
23
+
24
+ <td rowspan="1" colSpan="1" >开启默认 toast 提示。</td>
25
+ </tr>
26
+
27
+ <tr>
28
+ <td rowspan="1" colSpan="1" >[enableGroupGridAvatar](https://write.woa.com/document/159689178302017536)</td>
29
+
30
+ <td rowspan="1" colSpan="1" >设置群头像九宫格展示。</td>
31
+ </tr>
32
+ </table>
33
+
34
+
35
+ ## 聊天界面设置接口
36
+
37
+ ### 功能设置接口
38
+ <table>
39
+ <tr>
40
+ <td rowspan="1" colSpan="1" >API</td>
41
+
42
+ <td rowspan="1" colSpan="1" >描述</td>
43
+ </tr>
44
+
45
+ <tr>
46
+ <td rowspan="1" colSpan="1" >[enableTypingIndicator](https://write.woa.com/document/159689178302017536)</td>
47
+
48
+ <td rowspan="1" colSpan="1" >开启“正在输入”状态指示。</td>
49
+ </tr>
50
+
51
+ <tr>
52
+ <td rowspan="1" colSpan="1" >[isMessageReadReceiptNeeded](https://write.woa.com/document/159689178302017536)</td>
53
+
54
+ <td rowspan="1" colSpan="1" >开启消息已读回执。</td>
55
+ </tr>
56
+
57
+ <tr>
58
+ <td rowspan="1" colSpan="1" >[hideItemsWhenLongPressMessage](https://write.woa.com/document/159689178302017536)</td>
59
+
60
+ <td rowspan="1" colSpan="1" >隐藏长按消息菜单中的指定按钮。</td>
61
+ </tr>
62
+
63
+ <tr>
64
+ <td rowspan="1" colSpan="1" >[enableFloatWindowForCall](https://write.woa.com/document/159689178302017536)</td>
65
+
66
+ <td rowspan="1" colSpan="1" >开启音视频通话浮窗。</td>
67
+ </tr>
68
+
69
+ <tr>
70
+ <td rowspan="1" colSpan="1" >[enableMultiDeviceForCall](https://write.woa.com/document/159689178302017536)</td>
71
+
72
+ <td rowspan="1" colSpan="1" >开启音视频通话多端登录。</td>
73
+ </tr>
74
+
75
+ <tr>
76
+ <td rowspan="1" colSpan="1" >[setCustomTopView](https://write.woa.com/document/159689178302017536)</td>
77
+
78
+ <td rowspan="1" colSpan="1" >设置聊天界面顶部自定义 View。</td>
79
+ </tr>
80
+
81
+ <tr>
82
+ <td rowspan="1" colSpan="1" >[isExcludedFromUnreadCount](https://write.woa.com/document/159689178302017536)</td>
83
+
84
+ <td rowspan="1" colSpan="1" >设置即将发送的消息不更新会话未读数。</td>
85
+ </tr>
86
+
87
+ <tr>
88
+ <td rowspan="1" colSpan="1" >[isExcludedFromLastMessage](https://write.woa.com/document/159689178302017536)</td>
89
+
90
+ <td rowspan="1" colSpan="1" >设置即将发送的消息不更新会话 lastMsg。</td>
91
+ </tr>
92
+
93
+ <tr>
94
+ <td rowspan="1" colSpan="1" >[timeIntervalForAllowedMessageRecall](https://write.woa.com/document/159689178302017536)</td>
95
+
96
+ <td rowspan="1" colSpan="1" >设置消息撤回时间。</td>
97
+ </tr>
98
+
99
+ <tr>
100
+ <td rowspan="1" colSpan="1" >[maxAudioRecordDuration](https://write.woa.com/document/159689178302017536)</td>
101
+
102
+ <td rowspan="1" colSpan="1" >设置语音消息最长录制时长。</td>
103
+ </tr>
104
+
105
+ <tr>
106
+ <td rowspan="1" colSpan="1" >[maxVideoRecordDuration](https://write.woa.com/document/159689178302017536)</td>
107
+
108
+ <td rowspan="1" colSpan="1" >设置视频消息最长录制时长。</td>
109
+ </tr>
110
+
111
+ <tr>
112
+ <td rowspan="1" colSpan="1" >[enableAndroidCustomRing](https://write.woa.com/document/159689178302017536)</td>
113
+
114
+ <td rowspan="1" colSpan="1" >设置 Android 设备收到消息时的铃声为内置的自定义铃声。</td>
115
+ </tr>
116
+
117
+ <tr>
118
+ <td rowspan="1" colSpan="1" >[setPlayingSoundMessageViaSpeakerByDefault](https://write.woa.com/document/159689178302017536)</td>
119
+
120
+ <td rowspan="1" colSpan="1" >设置播放语音消息时默认使用扬声器而不是听筒播放。</td>
121
+ </tr>
122
+ </table>
123
+
124
+
125
+ ### 消息设置接口
126
+ <table>
127
+ <tr>
128
+ <td rowspan="1" colSpan="1" >API</td>
129
+
130
+ <td rowspan="1" colSpan="1" >描述</td>
131
+ </tr>
132
+
133
+ <tr>
134
+ <td rowspan="1" colSpan="1" >[setBackground](https://write.woa.com/document/159689178302017536)</td>
135
+
136
+ <td rowspan="1" colSpan="1" >设置聊天界面消息列表背景色。</td>
137
+ </tr>
138
+
139
+ <tr>
140
+ <td rowspan="1" colSpan="1" >[setMessageListAvatarSize](https://write.woa.com/document/159689178302017536)</td>
141
+
142
+ <td rowspan="1" colSpan="1" >设置聊天界面消息列表头像大小。</td>
143
+ </tr>
144
+
145
+ <tr>
146
+ <td rowspan="1" colSpan="1" >[setMessageListAvatarRadius](https://write.woa.com/document/159689178302017536)</td>
147
+
148
+ <td rowspan="1" colSpan="1" >设置聊天界面消息列表头像圆角半径。</td>
149
+ </tr>
150
+
151
+ <tr>
152
+ <td rowspan="1" colSpan="1" >[sendTextMessageColor](https://write.woa.com/document/159689178302017536)</td>
153
+
154
+ <td rowspan="1" colSpan="1" >设置发送的文本消息的文字颜色。</td>
155
+ </tr>
156
+
157
+ <tr>
158
+ <td rowspan="1" colSpan="1" >[sendTextMessageFont](https://write.woa.com/document/159689178302017536)</td>
159
+
160
+ <td rowspan="1" colSpan="1" >设置发送的文本消息的文字字体。</td>
161
+ </tr>
162
+
163
+ <tr>
164
+ <td rowspan="1" colSpan="1" >[receiveTextMessageColor](https://write.woa.com/document/159689178302017536)</td>
165
+
166
+ <td rowspan="1" colSpan="1" >设置接收的文本消息的文字颜色。</td>
167
+ </tr>
168
+
169
+ <tr>
170
+ <td rowspan="1" colSpan="1" >[receiveTextMessageFont](https://write.woa.com/document/159689178302017536)</td>
171
+
172
+ <td rowspan="1" colSpan="1" >设置接收的文本消息的文字字体。</td>
173
+ </tr>
174
+
175
+ <tr>
176
+ <td rowspan="1" colSpan="1" >[systemMessageTextColor](https://write.woa.com/document/159689178302017536)</td>
177
+
178
+ <td rowspan="1" colSpan="1" >设置系统通知消息文字的字体。</td>
179
+ </tr>
180
+
181
+ <tr>
182
+ <td rowspan="1" colSpan="1" >[systemMessageTextFont](https://write.woa.com/document/159689178302017536)</td>
183
+
184
+ <td rowspan="1" colSpan="1" >设置系统通知消息文字的颜色。</td>
185
+ </tr>
186
+
187
+ <tr>
188
+ <td rowspan="1" colSpan="1" >[systemMessageBackground](https://write.woa.com/document/159689178302017536)</td>
189
+
190
+ <td rowspan="1" colSpan="1" >设置系统通知消息文字的背景。</td>
191
+ </tr>
192
+
193
+ <tr>
194
+ <td rowspan="1" colSpan="1" >[enableMessageBubbleStyle](https://write.woa.com/document/159689178302017536)</td>
195
+
196
+ <td rowspan="1" colSpan="1" >开启消息气泡展示。</td>
197
+ </tr>
198
+
199
+ <tr>
200
+ <td rowspan="1" colSpan="1" >[sendBubbleBackground](https://write.woa.com/document/159689178302017536)</td>
201
+
202
+ <td rowspan="1" colSpan="1" >设置发送消息的气泡背景。</td>
203
+ </tr>
204
+
205
+ <tr>
206
+ <td rowspan="1" colSpan="1" >[receiveBubbleBackground](https://write.woa.com/document/159689178302017536)</td>
207
+
208
+ <td rowspan="1" colSpan="1" >设置接收消息的气泡背景。</td>
209
+ </tr>
210
+
211
+ <tr>
212
+ <td rowspan="1" colSpan="1" >[bubbleHighlightLightColor](https://write.woa.com/document/159689178302017536)</td>
213
+
214
+ <td rowspan="1" colSpan="1" >设置消息的气泡高亮亮色背景图。</td>
215
+ </tr>
216
+
217
+ <tr>
218
+ <td rowspan="1" colSpan="1" >[bubbleHighlightDarkColor](https://write.woa.com/document/159689178302017536)</td>
219
+
220
+ <td rowspan="1" colSpan="1" >设置消息的气泡高亮暗色背景图。</td>
221
+ </tr>
222
+
223
+ <tr>
224
+ <td rowspan="1" colSpan="1" >[registerCustomMessage](https://write.woa.com/document/159689178302017536)</td>
225
+
226
+ <td rowspan="1" colSpan="1" >注册自定义消息。</td>
227
+ </tr>
228
+
229
+ <tr>
230
+ <td rowspan="1" colSpan="1" >[insertLocalTipsMessage](https://write.woa.com/document/159689178302017536)</td>
231
+
232
+ <td rowspan="1" colSpan="1" >在本地插入一条系统提示消息。</td>
233
+ </tr>
234
+ </table>
235
+
236
+
237
+ ### 输入框设置接口
238
+ <table>
239
+ <tr>
240
+ <td rowspan="1" colSpan="1" >API</td>
241
+
242
+ <td rowspan="1" colSpan="1" >描述</td>
243
+ </tr>
244
+
245
+ <tr>
246
+ <td rowspan="1" colSpan="1" >[showInputBar](https://write.woa.com/document/159689178302017536)</td>
247
+
248
+ <td rowspan="1" colSpan="1" >展示聊天界面输入框。</td>
249
+ </tr>
250
+
251
+ <tr>
252
+ <td rowspan="1" colSpan="1" >[hideItemsInMoreMenu](https://write.woa.com/document/159689178302017536)</td>
253
+
254
+ <td rowspan="1" colSpan="1" >隐藏更多菜单中的按钮(全局)。</td>
255
+ </tr>
256
+
257
+ <tr>
258
+ <td rowspan="1" colSpan="1" >[inputBarShouldHideItemsInMoreMenuOfModel](https://write.woa.com/document/159689178302017536)</td>
259
+
260
+ <td rowspan="1" colSpan="1" >隐藏更多菜单中的按钮(局部)。</td>
261
+ </tr>
262
+
263
+ <tr>
264
+ <td rowspan="1" colSpan="1" >[inputBarShouldAddNewItemsToMoreMenuOfModel](https://write.woa.com/document/159689178302017536)</td>
265
+
266
+ <td rowspan="1" colSpan="1" >向更多菜单添加选项(局部)。</td>
267
+ </tr>
268
+
269
+ <tr>
270
+ <td rowspan="1" colSpan="1" >[itemsInShortcutViewOfModel](https://write.woa.com/document/159689178302017536)</td>
271
+
272
+ <td rowspan="1" colSpan="1" >向输入栏上方添加快捷视图。</td>
273
+ </tr>
274
+
275
+ <tr>
276
+ <td rowspan="1" colSpan="1" >[addStickerGroup](https://write.woa.com/document/159689178302017536)</td>
277
+
278
+ <td rowspan="1" colSpan="1" >向表情菜单中添加表情组。</td>
279
+ </tr>
280
+ </table>
281
+
282
+
283
+ ### 点击事件监听
284
+ <table>
285
+ <tr>
286
+ <td rowspan="1" colSpan="1" >API</td>
287
+
288
+ <td rowspan="1" colSpan="1" >描述</td>
289
+ </tr>
290
+
291
+ <tr>
292
+ <td rowspan="1" colSpan="1" >[onUserAvatarClicked](https://write.woa.com/document/159689178302017536)</td>
293
+
294
+ <td rowspan="1" colSpan="1" >用户点击了消息列表里的用户头像的事件回调。</td>
295
+ </tr>
296
+
297
+ <tr>
298
+ <td rowspan="1" colSpan="1" >[onUserAvatarLongPressed](https://write.woa.com/document/159689178302017536)</td>
299
+
300
+ <td rowspan="1" colSpan="1" >用户长按了消息列表里的用户头像的事件回调。</td>
301
+ </tr>
302
+
303
+ <tr>
304
+ <td rowspan="1" colSpan="1" >[onMessageClicked](https://write.woa.com/document/159689178302017536)</td>
305
+
306
+ <td rowspan="1" colSpan="1" >用户点击了消息列表里的消息的事件回调。</td>
307
+ </tr>
308
+
309
+ <tr>
310
+ <td rowspan="1" colSpan="1" >[onMessageLongPressed](https://write.woa.com/document/159689178302017536)</td>
311
+
312
+ <td rowspan="1" colSpan="1" >用户长按了消息列表里的消息的事件回调。</td>
313
+ </tr>
314
+ </table>
315
+
316
+
317
+ ## 会话列表设置接口
318
+ <table>
319
+ <tr>
320
+ <td rowspan="1" colSpan="1" >API</td>
321
+
322
+ <td rowspan="1" colSpan="1" >描述</td>
323
+ </tr>
324
+
325
+ <tr>
326
+ <td rowspan="1" colSpan="1" >[listBackground](https://write.woa.com/document/159689187222425600)</td>
327
+
328
+ <td rowspan="1" colSpan="1" >会话列表背景色。</td>
329
+ </tr>
330
+
331
+ <tr>
332
+ <td rowspan="1" colSpan="1" >[cellBackground](https://write.woa.com/document/159689187222425600)</td>
333
+
334
+ <td rowspan="1" colSpan="1" >会话 cell 背景色。</td>
335
+ </tr>
336
+
337
+ <tr>
338
+ <td rowspan="1" colSpan="1" >[pinnedCellBackground](https://write.woa.com/document/159689187222425600)</td>
339
+
340
+ <td rowspan="1" colSpan="1" >会话置顶 cell 背景色。</td>
341
+ </tr>
342
+
343
+ <tr>
344
+ <td rowspan="1" colSpan="1" >[cellTitleLabelFont](https://write.woa.com/document/159689187222425600)</td>
345
+
346
+ <td rowspan="1" colSpan="1" >会话列表 cell 上的标题字体。</td>
347
+ </tr>
348
+
349
+ <tr>
350
+ <td rowspan="1" colSpan="1" >[cellSubtitleLabelFont](https://write.woa.com/document/159689187222425600)</td>
351
+
352
+ <td rowspan="1" colSpan="1" >会话列表 cell 上的副标题字体。</td>
353
+ </tr>
354
+
355
+ <tr>
356
+ <td rowspan="1" colSpan="1" >[cellTimeLabelFont](https://write.woa.com/document/159689187222425600)</td>
357
+
358
+ <td rowspan="1" colSpan="1" >会话列表 cell 上的时间文字的字体。</td>
359
+ </tr>
360
+
361
+ <tr>
362
+ <td rowspan="1" colSpan="1" >[showCellUnreadCount](https://write.woa.com/document/159689187222425600)</td>
363
+
364
+ <td rowspan="1" colSpan="1" >展示 cell 上的未读消息红点 icon。</td>
365
+ </tr>
366
+
367
+ <tr>
368
+ <td rowspan="1" colSpan="1" >[showUserOnlineStatusIcon](https://write.woa.com/document/159689187222425600)</td>
369
+
370
+ <td rowspan="1" colSpan="1" >展示 cell 里用户头像上的在线状态 icon。</td>
371
+ </tr>
372
+
373
+ <tr>
374
+ <td rowspan="1" colSpan="1" >[conversationShouldHideItemsInMoreMenu](https://write.woa.com/document/159689187222425600)</td>
375
+
376
+ <td rowspan="1" colSpan="1" >隐藏会话更多菜单选项。</td>
377
+ </tr>
378
+
379
+ <tr>
380
+ <td rowspan="1" colSpan="1" >[conversationShouldAddNewItemsToMoreMenu](https://write.woa.com/document/159689187222425600)</td>
381
+
382
+ <td rowspan="1" colSpan="1" >向会话更多菜单添加选项。</td>
383
+ </tr>
384
+ </table>
385
+
386
+
387
+ ## 群组设置接口
388
+ <table>
389
+ <tr>
390
+ <td rowspan="1" colSpan="1" >API</td>
391
+
392
+ <td rowspan="1" colSpan="1" >描述</td>
393
+ </tr>
394
+
395
+ <tr>
396
+ <td rowspan="1" colSpan="1" >[hideItemsInGroupConfig](https://write.woa.com/document/159689196161363968)</td>
397
+
398
+ <td rowspan="1" colSpan="1" >隐藏群组设置选项。</td>
399
+ </tr>
400
+ </table>
401
+
402
+
403
+ ## 联系人设置接口
404
+ <table>
405
+ <tr>
406
+ <td rowspan="1" colSpan="1" >API</td>
407
+
408
+ <td rowspan="1" colSpan="1" >描述</td>
409
+ </tr>
410
+
411
+ <tr>
412
+ <td rowspan="1" colSpan="1" >[hideItemsInContactConfig](https://write.woa.com/document/159689204445114368)</td>
413
+
414
+ <td rowspan="1" colSpan="1" >隐藏联系人设置选项。</td>
415
+ </tr>
416
+ </table>
417
+
418
+
@@ -0,0 +1,86 @@
1
+ ## 购买计费相关
2
+ - [即时通信 IM 如何计费?](https://cloud.tencent.com/document/product/269/11673)
3
+
4
+ - [即时通信 IM 有什么优惠折扣活动吗?](https://cloud.tencent.com/document/product/269/46181)
5
+
6
+ - [即时通信 IM 日活跃用户数是否有限制,如何收费?](https://cloud.tencent.com/document/product/269/32482#.E5.8D.B3.E6.97.B6.E9.80.9A.E4.BF.A1-im-.E4.B8.93.E4.B8.9A.E7.89.88.E4.B8.8E.E6.97.97.E8.88.B0.E7.89.88.E6.98.AF.E5.90.A6.E6.9C.89.E6.97.A5.E6.B4.BB.E8.B7.83.E7.94.A8.E6.88.B7.E6.95.B0.EF.BC.88dau.EF.BC.89.E7.9A.84.E9.99.90.E5.88.B6.EF.BC.9F)
7
+
8
+ - [即时通信 IM 如何购买?](https://cloud.tencent.com/document/product/269/32458)
9
+
10
+ - [即时通信 IM 各套餐包功能有什么差异?](https://cloud.tencent.com/document/product/269/81908#1c21bae4-9947-4f40-a572-b2ac158bb6db)
11
+
12
+ - [即时通信 IM 购买套餐包后能否变更配置?](https://write.woa.com/document/107052219812687872)
13
+
14
+ - [即时通信 IM 支持境外接入吗?](https://cloud.tencent.com/document/product/269/32482#.E5.8D.B3.E6.97.B6.E9.80.9A.E4.BF.A1-im-.E6.94.AF.E6.8C.81.E5.A2.83.E5.A4.96.E6.8E.A5.E5.85.A5.E5.90.97.EF.BC.9F)
15
+
16
+ - [即时通信 IM 如何续费(包括自动续费)?](https://cloud.tencent.com/document/product/269/32472)
17
+
18
+ - [即时通信 IM 如何退费?](https://cloud.tencent.com/document/product/269/32473)
19
+
20
+
21
+ 更多问题,请参见 [购买相关问题](https://cloud.tencent.com/document/product/269/32482)。
22
+
23
+
24
+ ## 消息/群组相关
25
+ - [如何下载最近的聊天记录?](https://cloud.tencent.com/document/product/269/1650)
26
+
27
+ - [如何删除聊天记录?](https://cloud.tencent.com/document/product/269/101439)
28
+
29
+ - [即时通信 IM 消息存储时长是多久?](https://cloud.tencent.com/document/product/269/32486#.E5.8D.B3.E6.97.B6.E9.80.9A.E4.BF.A1-im-.E6.B6.88.E6.81.AF.E5.AD.98.E5.82.A8.E6.97.B6.E9.95.BF.E6.98.AF.E5.A4.9A.E4.B9.85.EF.BC.9F)
30
+
31
+ - [即时通信 IM 是否支持内容审核(反垃圾信息)功能?](https://cloud.tencent.com/document/product/269/103734#cb3b3553-f101-48e5-8dc8-235a0ee0ac38)
32
+
33
+ - [即时通信 IM 是否支持自定义消息?](https://cloud.tencent.com/document/product/269/37066)
34
+
35
+ - [群组系统有哪些基本能力?](https://cloud.tencent.com/document/product/269/1502)
36
+
37
+
38
+ 更多问题,请参见 [消息相关问题](https://cloud.tencent.com/document/product/269/32486) 和 [群组相关问题](https://cloud.tencent.com/document/product/269/32487)。
39
+
40
+
41
+ ## 推送相关
42
+ - [推送服务(Push)如何计费?](https://cloud.tencent.com/document/product/269/110762#Push)
43
+
44
+ - [推送服务(Push)提供哪些功能?](https://cloud.tencent.com/document/product/269/100621)
45
+
46
+ - [如何开通服务并领取体验版?](https://cloud.tencent.com/document/product/269/100621#6ec9a3e9-e72c-4212-942d-6b44321709a9)
47
+
48
+ - 各厂商通道如何配置?
49
+
50
+ - [Android](https://cloud.tencent.com/document/product/269/100623)
51
+
52
+ - [iOS](https://cloud.tencent.com/document/product/269/100624)
53
+
54
+ - [自定义角标、铃音等高级功能如何实现?](https://cloud.tencent.com/document/product/269/100645)
55
+
56
+ - [已接入即时通信 IM 的聊天功能,还需要离线推送怎么办?](https://cloud.tencent.com/document/product/269/109890)
57
+
58
+ - [设备收不到离线推送消息,如何排查?](https://cloud.tencent.com/document/product/269/100650)
59
+
60
+
61
+ ## 智能客服相关
62
+ - [智能客服如何计费?](https://cloud.tencent.com/document/product/269/110762#Desk)
63
+
64
+ - [智能客服包含哪些功能?](https://write.woa.com/document/115643221727297536)
65
+
66
+ - [智能客服如何开通?](https://write.woa.com/document/118836356010442752)
67
+
68
+ - [智能客服提供哪些用户端渠道?](https://write.woa.com/document/147999755982360576)
69
+
70
+
71
+ ## 其他问题
72
+ - [Demo 体验入口在哪里?](https://cloud.tencent.com/document/product/269/36852)
73
+
74
+ - [哪里可以下载 SDK&Demo 源码?](https://cloud.tencent.com/document/product/269/36887)
75
+
76
+ - [是否支持音视频通话能力?](https://cloud.tencent.com/document/product/269/83725#.E9.9F.B3.E8.A7.86.E9.A2.91.E9.80.9A.E8.AF.9D.E8.83.BD.E5.8A.9B.E6.98.AF.E4.BB.80.E4.B9.88.EF.BC.9F.E8.83.BD.E4.B8.BA.E6.88.91.E5.9C.A8.E5.B7.B2.E6.9C.89.E5.8D.B3.E6.97.B6.E9.80.9A.E4.BF.A1-im-.E5.A5.97.E9.A4.90.E7.9A.84.E5.9F.BA.E7.A1.80.E4.B8.8A.E6.8F.90.E4.BE.9B.E4.BB.80.E4.B9.88.E5.8A.9F.E8.83.BD.EF.BC.9F.E4.BC.98.E5.8A.BF.E6.98.AF.E4.BB.80.E4.B9.88.EF.BC.9F)
77
+
78
+ - [如何查询即时通信 IM 的错误码?](https://cloud.tencent.com/document/product/269/1671)
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+
@@ -0,0 +1,117 @@
1
+ ### TUIKit 源码是否支持 Androidx?
2
+
3
+ TUIKit 最新源码已经支持 Androidx。
4
+
5
+ ### 登录报错 6012 或 TLSSDK exchange ticket fail ?
6
+
7
+ 如果您当前是即时通信 IM 体验版,需要升级为专业版,升级后可正常登录,可以到 [即时通信 IM 购买页面](https://buy.cloud.tencent.com/avc) 进行购买升级,详细价格说明请参阅 [产品价格](https://cloud.tencent.com/document/product/269/11673)。
8
+
9
+ ### 出现 6013 SDK 未初始化错误?
10
+
11
+ 如果出现 6013 SDK 未初始化错误,您可以尝试以下方式排查:
12
+ 1. 查看是否没有登录成功就进行收发消息等其他操作;
13
+
14
+ 2. 查看是否登录时被其它终端踢掉,IM SDK 默认一个账号仅能在一个终端上登录。处理方式请参考 [多终端同时登录](https://cloud.tencent.com/document/product/269/3665#.E5.A4.9A.E7.AB.AF.E7.99.BB.E5.BD.95) 文档;
15
+
16
+ 3. Android 请关注库文件是否未能全部加载,或是使用过程中被系统回收。
17
+
18
+
19
+ ### code: 6205 desc: QALSERVICE not ready?
20
+
21
+ 在初始化后调用了 `stopQALService` 导致此错误,可以参考客户分享的 [配置方法](https://blog.csdn.net/qq_16131393/article/details/54895733)。
22
+
23
+ ### 发送表情,消息列表显示为空、或者乱码?
24
+
25
+ 即时通信 IM 不提供表情包,具体的解析需要自己对齐。
26
+ 表情使用方式有两种方式:
27
+ - 一种是使用 TIMFaceElem 中的 index,标识表情的索引,例如 Android 和 iOS 两端都有同一套表情图,索引2为笑脸,index=2 就表示笑脸,两端发送和接收都显示同一张索引表情图片即可。
28
+
29
+ - 另一种是使用 TIMFaceElem 中的 data,例如表情图片是由字符串命名,smile 表示笑脸,可在 data 中存储 smile,iOS 和 Android 两端都通过 data 作为 key 找到对应表情图片进行显示。
30
+
31
+
32
+ 另外也可以两个字段都使用,如 data 表示哪一套表情,index 表示这套表情的哪个索引,可以实现类似 QQ 的多种不同表情效果。甚至可以在 data 数据中存储更为复杂的数据结构,只要多端解析规则一致即可。
33
+
34
+
35
+ ### 有时进行操作时返回错误码:10002?
36
+
37
+ 在需要进行服务端验证的操作时,如果网络异常、超时或者票据切换失败,就会返回此状态码,遇到此状态码时稍后重试即可。
38
+
39
+ ### 收发消息时,收到错误码 6200 或 6201?
40
+
41
+ 返回此状态码时,是客户端在网络离线、超时或无网络访问时出现,6200 的定义为请求时没有网络,6201 的定义为响应时没有网络,遇到此状态码时,请检查网络或等待网络恢复后重试。
42
+
43
+ ### 收发消息时返回错误码:20003?
44
+
45
+ 请检查用户账号(UserID)是否已在腾讯云导入,当 UserID 无效或 UserID 未导入腾讯即时通信 IM 时,会返回此错误码。
46
+
47
+ ### 语音消息播放语音时返回错误码:6010?
48
+
49
+ 通常情况是语音消息超过了漫游保存有效期,请求失败导致,可 [延长漫游消息时间](https://cloud.tencent.com/document/product/269/38656#.E5.8E.86.E5.8F.B2.E6.B6.88.E6.81.AF.E5.AD.98.E5.82.A8.E6.97.B6.E9.95.BF.E9.85.8D.E7.BD.AE) 或获取语音文件到本地播放(已过期的文件无法恢复)。但不同版本的 SDK 支持延长历史消息存储时长的消息类型不同,详情请参见 [消息存储](https://cloud.tencent.com/document/product/269/3571#MsgType)。
50
+
51
+ ### 账号鉴权时返回错误码 70001 或 70003 或 70009 或 70013?
52
+
53
+ 这些状态码对应的原因是 UserID 与 UserSig 不匹配,请检查 UserID 及 UserSig 的有效性。其中,70001 定义为 UserSig 已过期,70003 定义为 UserSig 被截断导致校验失败,70009 定义为 UserSig 验证失败(可能是因为生成 UserSig 时混用了其他 SDKAppID 的密钥或私钥导致),70013 定义为 UserID 不匹配。
54
+
55
+ ### Web 端使用 IM SDK 时返回错误码-2或-5?
56
+ - -2:Web 端请求服务器失败,通常为网络问题,Web 端使用 HTTP Long Polling 方式向服务端请求,网络存在问题时会返回此状态码,请检查网络或重试。
57
+
58
+ - -5:登录操作未完成,SDK 未获取到服务器返回的 a2key 和 tinyID 时,直接调用其它接口会出现“tinyid或a2为空”的错误提示信息和-5的错误码。
59
+
60
+
61
+ ### 在 armeabi 平台上 SDK 报"java.lang.UnsatisfiedLinkError: No implementation found for"错误该如何处理?
62
+
63
+ 拷贝 imsdk 的 aar 里面的 jni/armeabi-v7a/libImSDK.so 到源码工程的 src/main/jniLibs/armeabi 目录里,并在 build.gradle 中加载即可。
64
+
65
+ ### 上架 App Store 时,出现 x86_64, i386 架构错误该如何解决?
66
+
67
+ 该问题是由于 App Store 不支持 x86_64, i386 架构引起的,具体解决方法如下:
68
+ 1. 清空项目编译缓存:
69
+ 选择**Product**>**clean**,按住Alt变成 clean build Folder...,等待操作完成。
70
+
71
+ 2. 剔除 App Store 不支持的 x86_64 和 i386 架构:
72
+ a. 选择**TARGETS**>**Build Phases**。
73
+ b. 单击加号,选择**New Run Script Phase**。
74
+ c. 添加如下代码:
75
+
76
+ ``` bash
77
+ APP_PATH="${TARGET_BUILD_DIR}/${WRAPPER_NAME}"
78
+
79
+ # This script loops through the frameworks embedded in the application and
80
+
81
+ # removes unused architectures.
82
+
83
+ find "$APP_PATH" -name '*.framework' -type d | while read -r FRAMEWORK
84
+ do
85
+ FRAMEWORK_EXECUTABLE_NAME=$(defaults read "$FRAMEWORK/Info.plist" CFBundleExecutable)
86
+ FRAMEWORK_EXECUTABLE_PATH="$FRAMEWORK/$FRAMEWORK_EXECUTABLE_NAME"
87
+ echo "Executable is $FRAMEWORK_EXECUTABLE_PATH"
88
+
89
+ EXTRACTED_ARCHS=()
90
+
91
+ for ARCH in $ARCHS
92
+ do
93
+ echo "Extracting $ARCH from $FRAMEWORK_EXECUTABLE_NAME"
94
+ lipo -extract "$ARCH" "$FRAMEWORK_EXECUTABLE_PATH" -o "$FRAMEWORK_EXECUTABLE_PATH-$ARCH"
95
+ EXTRACTED_ARCHS+=("$FRAMEWORK_EXECUTABLE_PATH-$ARCH")
96
+ done
97
+
98
+ echo "Merging extracted architectures: ${ARCHS}"
99
+ lipo -o "$FRAMEWORK_EXECUTABLE_PATH-merged" -create "${EXTRACTED_ARCHS[@]}"
100
+ rm "${EXTRACTED_ARCHS[@]}"
101
+
102
+ echo "Replacing original executable with thinned version"
103
+ rm "$FRAMEWORK_EXECUTABLE_PATH"
104
+ mv "$FRAMEWORK_EXECUTABLE_PATH-merged" "$FRAMEWORK_EXECUTABLE_PATH"
105
+
106
+ done
107
+ ```
108
+ ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100025598411/f7592364ceda11edb580525400088f3a.png)
109
+
110
+ 3. 重新打包上传。
111
+
112
+
113
+ ### IM 各端 Demo/TUIKit 工程中演示用的表情包,开发者是否可以直接使用?
114
+
115
+ 为了尊重版权,IM Demo/TUIKit 工程中默认不包含大表情元素切图。在正式上线商用前,请您替换为自己设计或拥有版权的其他表情包。请注意,下图所示的**默认小黄脸表情包版权属于腾讯云**,您可以通过升级至 [IM 企业版套餐](https://buy.cloud.tencent.com/avc) 免费使用该表情包。
116
+
117
+ ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027937867/7e1754a0391611ef9c9c525400d5f8ef.png)