@tencent-rtc/mcp 1.6.7 → 1.7.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 (307) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +53 -39
  3. package/knowledge/build-index.js +31 -4
  4. package/knowledge/chunker.js +82 -14
  5. package/knowledge/chunking-policy.js +100 -0
  6. package/knowledge/content-loader.js +3 -1
  7. package/knowledge/frontmatter-meta.js +167 -0
  8. package/knowledge/path-meta.js +28 -6
  9. package/knowledge/search/exact-lookup.js +9 -227
  10. package/knowledge/search/filter-pool.js +17 -26
  11. package/knowledge/search/framework-fallback.js +22 -0
  12. package/knowledge/search/intent-router.js +13 -0
  13. package/knowledge/search/query-normalizer.js +129 -0
  14. package/knowledge/search/search-core.js +391 -0
  15. package/knowledge/search/search-knowledge.js +351 -323
  16. package/knowledge/search/search-message.js +87 -0
  17. package/knowledge/search/search-pass.js +428 -0
  18. package/knowledge/search/search-types.js +1 -0
  19. package/knowledge/search/url-row-scorer.js +258 -0
  20. package/package.json +1 -1
  21. package/resource/_schema/feature-aliases.yaml +1 -0
  22. package/resource/_schema/query-normalization.yaml +9 -0
  23. package/resource/index/manifest.json +1 -1
  24. package/resource/integration/callkit/preset/android/integration.md +3 -14
  25. package/resource/integration/callkit/preset/flutter/integration.md +1 -12
  26. package/resource/integration/callkit/preset/ios/integration.md +2 -12
  27. package/resource/integration/callkit/preset/react/integration.md +1 -14
  28. package/resource/integration/callkit/preset/vue/integration.md +1 -14
  29. package/resource/integration/chat/preset/android/integration.md +6 -13
  30. package/resource/integration/chat/preset/flutter/integration.md +1 -8
  31. package/resource/integration/chat/preset/ios/integration.md +4 -12
  32. package/resource/integration/chat/preset/react/integration.md +6 -16
  33. package/resource/integration/chat/preset/vue/integration.md +0 -9
  34. package/resource/integration/livekit/preset/live/android/live-audience-integration.md +2 -6
  35. package/resource/integration/livekit/preset/live/android/live-host-integration.md +1 -11
  36. package/resource/integration/livekit/preset/live/android/live-list-integration.md +2 -6
  37. package/resource/integration/livekit/preset/live/android/prepare-integration.md +2 -7
  38. package/resource/integration/livekit/preset/live/ios/live-audience-integration.md +2 -7
  39. package/resource/integration/livekit/preset/live/ios/live-host-integration.md +1 -13
  40. package/resource/integration/livekit/preset/live/ios/live-list-integration.md +2 -10
  41. package/resource/integration/livekit/preset/live/ios/prepare-integration.md +3 -8
  42. package/resource/integration/livekit/preset/live/vue/live-list-integration.md +0 -4
  43. package/resource/integration/livekit/preset/live/vue/live-player-desk-integration.md +1 -5
  44. package/resource/integration/livekit/preset/live/vue/live-player-h5-integration.md +2 -7
  45. package/resource/integration/livekit/preset/live/vue/live-pusher-integration.md +2 -8
  46. package/resource/integration/roomkit/preset/vue/integration.md +0 -11
  47. package/resource/knowledge/callkit/best-practice/callkit-miniprogram/uniapp-shrink.md +60 -0
  48. package/resource/knowledge/callkit/best-practice/common/call-autoplay-blocked.md +77 -0
  49. package/resource/knowledge/callkit/best-practice/common/call-message-in-chat.md +78 -0
  50. package/resource/knowledge/callkit/best-practice/common/call-vs-calls.md +110 -0
  51. package/resource/knowledge/callkit/best-practice/common/callengine-call-flow.md +123 -0
  52. package/resource/knowledge/callkit/best-practice/common/callengine-log-level.md +67 -0
  53. package/resource/knowledge/callkit/best-practice/common/callkit-get-engine-instance.md +81 -0
  54. package/resource/knowledge/callkit/best-practice/common/callkit-get-roomid.md +78 -0
  55. package/resource/knowledge/callkit/best-practice/common/callkit-limitations.md +37 -0
  56. package/resource/knowledge/callkit/best-practice/common/callkit-user-register-and-kicked.md +98 -0
  57. package/resource/knowledge/callkit/core-sdk/android/answer-call.md +0 -7
  58. package/resource/knowledge/callkit/core-sdk/android/make-call.md +0 -8
  59. package/resource/knowledge/callkit/core-sdk/android/offline-push.md +1 -9
  60. package/resource/knowledge/callkit/core-sdk/flutter/answer-call.md +2 -8
  61. package/resource/knowledge/callkit/core-sdk/flutter/make-call.md +2 -8
  62. package/resource/knowledge/callkit/core-sdk/flutter/offline-push.md +1 -16
  63. package/resource/knowledge/callkit/core-sdk/ios/answer-call.md +0 -8
  64. package/resource/knowledge/callkit/core-sdk/ios/make-call.md +0 -8
  65. package/resource/knowledge/callkit/core-sdk/ios/offline-push.md +0 -11
  66. package/resource/knowledge/callkit/core-sdk/uni-app/answer-call.md +178 -200
  67. package/resource/knowledge/callkit/core-sdk/uni-app/make-call.md +195 -217
  68. package/resource/knowledge/callkit/faq/android.md +4 -14
  69. package/resource/knowledge/callkit/faq/common.md +0 -2
  70. package/resource/knowledge/callkit/faq/error-code.md +2 -4
  71. package/resource/knowledge/callkit/faq/ios.md +1 -4
  72. package/resource/knowledge/callkit/preset/android/api.md +0 -6
  73. package/resource/knowledge/callkit/preset/ios/api.md +0 -4
  74. package/resource/knowledge/callkit/preset/react/api.md +3 -4
  75. package/resource/knowledge/callkit/preset/vue/api.md +3 -4
  76. package/resource/knowledge/chat/best-practice/common/avchatroom-message-loss-diagnosis.md +65 -0
  77. package/resource/knowledge/chat/best-practice/common/group-conversation-cleanup-on-system-notice.md +62 -0
  78. package/resource/knowledge/chat/best-practice/common/image-message-url-lifecycle.md +59 -0
  79. package/resource/knowledge/chat/best-practice/common/login-repeat-2025-diagnosis.md +61 -0
  80. package/resource/knowledge/chat/best-practice/common/message-read-report-and-receipt.md +64 -0
  81. package/resource/knowledge/chat/best-practice/common/message-receive-event.md +65 -0
  82. package/resource/knowledge/chat/best-practice/common/message-risk-error-and-render.md +65 -0
  83. package/resource/knowledge/chat/best-practice/common/message-unread-count.md +71 -0
  84. package/resource/knowledge/chat/best-practice/miniprogram/audio-message-send.md +113 -0
  85. package/resource/knowledge/chat/best-practice/miniprogram/login-timeout-2801-diagnosis.md +63 -0
  86. package/resource/knowledge/chat/best-practice/miniprogram/media-upload-fail-diagnosis.md +64 -0
  87. package/resource/knowledge/chat/best-practice/web/audio-message-send.md +118 -0
  88. package/resource/knowledge/chat/preset/android/features/chat-setting.md +0 -5
  89. package/resource/knowledge/chat/preset/android/features/contact-list.md +0 -7
  90. package/resource/knowledge/chat/preset/android/features/conversation-list.md +0 -6
  91. package/resource/knowledge/chat/preset/android/features/language.md +0 -8
  92. package/resource/knowledge/chat/preset/android/features/message-input.md +0 -6
  93. package/resource/knowledge/chat/preset/android/features/message-list.md +0 -8
  94. package/resource/knowledge/chat/preset/android/features/search.md +0 -7
  95. package/resource/knowledge/chat/preset/android/features/theme.md +0 -4
  96. package/resource/knowledge/chat/preset/android-view/integration.md +0 -6
  97. package/resource/knowledge/chat/preset/flutter/features/chat-setting.md +0 -4
  98. package/resource/knowledge/chat/preset/flutter/features/contact-list.md +0 -9
  99. package/resource/knowledge/chat/preset/flutter/features/conversation-list.md +0 -7
  100. package/resource/knowledge/chat/preset/flutter/features/language.md +0 -5
  101. package/resource/knowledge/chat/preset/flutter/features/message-input.md +0 -6
  102. package/resource/knowledge/chat/preset/flutter/features/message-list.md +0 -8
  103. package/resource/knowledge/chat/preset/flutter/features/search.md +0 -5
  104. package/resource/knowledge/chat/preset/flutter/features/theme.md +0 -4
  105. package/resource/knowledge/chat/preset/ios/features/chat-setting.md +0 -5
  106. package/resource/knowledge/chat/preset/ios/features/contact-list.md +0 -5
  107. package/resource/knowledge/chat/preset/ios/features/conversation-list.md +0 -7
  108. package/resource/knowledge/chat/preset/ios/features/language.md +1 -8
  109. package/resource/knowledge/chat/preset/ios/features/message-input.md +0 -6
  110. package/resource/knowledge/chat/preset/ios/features/message-list.md +0 -8
  111. package/resource/knowledge/chat/preset/ios/features/search.md +0 -5
  112. package/resource/knowledge/chat/preset/ios/features/theme.md +0 -4
  113. package/resource/knowledge/chat/preset/ios-uikit/integration.md +0 -6
  114. package/resource/knowledge/chat/preset/react/features/contact-list.md +0 -23
  115. package/resource/knowledge/chat/preset/react/features/conversation-actions.md +2 -11
  116. package/resource/knowledge/chat/preset/react/features/conversation-list.md +4 -26
  117. package/resource/knowledge/chat/preset/react/features/conversation-preview.md +0 -6
  118. package/resource/knowledge/chat/preset/react/features/search.md +0 -1
  119. package/resource/knowledge/chat/preset/react/features/theme.md +0 -1
  120. package/resource/knowledge/chat/preset/vue/features/contact-list.md +3 -9
  121. package/resource/knowledge/chat/preset/vue/features/conversation-actions.md +0 -3
  122. package/resource/knowledge/chat/preset/vue/features/conversation-list.md +2 -13
  123. package/resource/knowledge/chat/preset/vue/features/conversation-preview.md +2 -3
  124. package/resource/knowledge/chat/preset/vue/features/conversation-search.md +1 -0
  125. package/resource/knowledge/chat/preset/vue/features/search.md +4 -3
  126. package/resource/knowledge/chat/urls/sdk/web.md +1 -1
  127. package/resource/knowledge/livekit/best-practice/android/voice-room-anchor-start.md +120 -0
  128. package/resource/knowledge/livekit/best-practice/common/admin-take-seat.md +73 -0
  129. package/resource/knowledge/livekit/best-practice/common/audience-leave-live.md +81 -0
  130. package/resource/knowledge/livekit/best-practice/common/voice-room-no-audio-troubleshoot.md +100 -0
  131. package/resource/knowledge/livekit/best-practice/common/voice-room-seat-list-change.md +65 -0
  132. package/resource/knowledge/livekit/best-practice/flutter/voice-room-anchor-start.md +122 -0
  133. package/resource/knowledge/livekit/best-practice/ios/voice-room-anchor-start.md +126 -0
  134. package/resource/knowledge/livekit/core-sdk/api-reference/android/AudioEffectStore.md +0 -7
  135. package/resource/knowledge/livekit/core-sdk/api-reference/android/BarrageStore.md +0 -3
  136. package/resource/knowledge/livekit/core-sdk/api-reference/android/BattleStore.md +0 -3
  137. package/resource/knowledge/livekit/core-sdk/api-reference/android/CameraView.md +0 -1
  138. package/resource/knowledge/livekit/core-sdk/api-reference/android/CoGuestStore.md +0 -5
  139. package/resource/knowledge/livekit/core-sdk/api-reference/android/CoHostStore.md +0 -3
  140. package/resource/knowledge/livekit/core-sdk/api-reference/android/DeviceStore.md +0 -2
  141. package/resource/knowledge/livekit/core-sdk/api-reference/android/GiftStore.md +0 -2
  142. package/resource/knowledge/livekit/core-sdk/api-reference/android/LikeStore.md +0 -2
  143. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveAudienceStore.md +0 -2
  144. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveCoreView.md +0 -1
  145. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveSeatStore.md +0 -2
  146. package/resource/knowledge/livekit/core-sdk/api-reference/android/LoginStore.md +0 -2
  147. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/AudioEffectStore.md +0 -7
  148. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BarrageStore.md +0 -3
  149. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BaseBeautyStore.md +0 -1
  150. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BattleStore.md +0 -3
  151. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoGuestStore.md +0 -5
  152. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoHostStore.md +0 -3
  153. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/DeviceStore.md +0 -2
  154. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/GiftStore.md +0 -2
  155. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LikeStore.md +0 -2
  156. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveAudienceStore.md +0 -2
  157. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveCoreView.md +0 -1
  158. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveSeatStore.md +0 -2
  159. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LoginStore.md +1 -3
  160. package/resource/knowledge/livekit/core-sdk/api-reference/ios/AudioEffectStore.md +0 -7
  161. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BarrageStore.md +0 -3
  162. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BaseBeautyStore.md +0 -1
  163. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BattleStore.md +0 -3
  164. package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoGuestStore.md +0 -5
  165. package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoHostStore.md +0 -3
  166. package/resource/knowledge/livekit/core-sdk/api-reference/ios/DeviceStore.md +0 -2
  167. package/resource/knowledge/livekit/core-sdk/api-reference/ios/GiftStore.md +0 -2
  168. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LikeStore.md +0 -2
  169. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveAudienceStore.md +0 -2
  170. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveCoreView.md +0 -1
  171. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveSeatStore.md +0 -2
  172. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LoginStore.md +0 -2
  173. package/resource/knowledge/livekit/core-sdk/features/android/audience-list.md +2 -2
  174. package/resource/knowledge/livekit/core-sdk/features/android/audio-effect.md +2 -3
  175. package/resource/knowledge/livekit/core-sdk/features/android/barrage.md +2 -2
  176. package/resource/knowledge/livekit/core-sdk/features/android/base-beauty.md +2 -2
  177. package/resource/knowledge/livekit/core-sdk/features/android/gift.md +2 -7
  178. package/resource/knowledge/livekit/core-sdk/features/android/live-list.md +3 -4
  179. package/resource/knowledge/livekit/core-sdk/features/flutter/audience-list.md +2 -2
  180. package/resource/knowledge/livekit/core-sdk/features/flutter/audio-effect.md +2 -4
  181. package/resource/knowledge/livekit/core-sdk/features/flutter/barrage.md +2 -2
  182. package/resource/knowledge/livekit/core-sdk/features/flutter/base-beauty.md +0 -2
  183. package/resource/knowledge/livekit/core-sdk/features/flutter/gift.md +2 -7
  184. package/resource/knowledge/livekit/core-sdk/features/flutter/live-list.md +3 -2
  185. package/resource/knowledge/livekit/core-sdk/features/ios/audience-list.md +2 -2
  186. package/resource/knowledge/livekit/core-sdk/features/ios/audio-effect.md +2 -4
  187. package/resource/knowledge/livekit/core-sdk/features/ios/barrage.md +2 -2
  188. package/resource/knowledge/livekit/core-sdk/features/ios/base-beauty.md +2 -2
  189. package/resource/knowledge/livekit/core-sdk/features/ios/gift.md +2 -7
  190. package/resource/knowledge/livekit/core-sdk/features/ios/live-list.md +3 -4
  191. package/resource/knowledge/livekit/core-sdk/live/android/co-guest-interaction.md +0 -3
  192. package/resource/knowledge/livekit/core-sdk/live/android/host-interaction.md +0 -4
  193. package/resource/knowledge/livekit/core-sdk/live/android/integration.md +1 -4
  194. package/resource/knowledge/livekit/core-sdk/live/flutter/co-guest-interaction.md +1 -3
  195. package/resource/knowledge/livekit/core-sdk/live/flutter/host-interaction.md +0 -1
  196. package/resource/knowledge/livekit/core-sdk/live/flutter/integration.md +1 -4
  197. package/resource/knowledge/livekit/core-sdk/live/ios/co-guest-interaction.md +0 -3
  198. package/resource/knowledge/livekit/core-sdk/live/ios/host-interaction.md +0 -3
  199. package/resource/knowledge/livekit/core-sdk/live/ios/integration.md +1 -4
  200. package/resource/knowledge/livekit/core-sdk/voice/android/co-guest-interaction.md +0 -2
  201. package/resource/knowledge/livekit/core-sdk/voice/android/host-interaction.md +0 -5
  202. package/resource/knowledge/livekit/core-sdk/voice/android/integration.md +1 -4
  203. package/resource/knowledge/livekit/core-sdk/voice/flutter/co-guest-interaction.md +1 -4
  204. package/resource/knowledge/livekit/core-sdk/voice/flutter/integration.md +3 -6
  205. package/resource/knowledge/livekit/core-sdk/voice/ios/co-guest-interaction.md +0 -2
  206. package/resource/knowledge/livekit/core-sdk/voice/ios/host-interaction.md +0 -4
  207. package/resource/knowledge/livekit/core-sdk/voice/ios/integration.md +1 -4
  208. package/resource/knowledge/livekit/faq/error-code.md +0 -1
  209. package/resource/knowledge/livekit/preset/live/vue/features/barrage.md +2 -3
  210. package/resource/knowledge/livekit/preset/live/vue/features/live-audience-list.md +3 -3
  211. package/resource/knowledge/livekit/preset/live/vue/features/live-view.md +3 -3
  212. package/resource/knowledge/push/api-reference/android.md +0 -1
  213. package/resource/knowledge/push/api-reference/harmonyos.md +0 -2
  214. package/resource/knowledge/push/api-reference/react-native.md +3 -5
  215. package/resource/knowledge/push/api-reference/uni-app.md +3 -5
  216. package/resource/knowledge/push/api-reference/unity.md +0 -1
  217. package/resource/knowledge/push/api-reference/unreal-engine.md +0 -1
  218. package/resource/knowledge/push/config/android.md +0 -24
  219. package/resource/knowledge/push/config/harmonyos.md +0 -1
  220. package/resource/knowledge/push/config/ios.md +0 -3
  221. package/resource/knowledge/push/config/react-native.md +0 -29
  222. package/resource/knowledge/push/config/unity.md +1 -24
  223. package/resource/knowledge/push/config/unreal-engine.md +1 -24
  224. package/resource/knowledge/push/integration/android.md +0 -14
  225. package/resource/knowledge/push/integration/flutter.md +0 -19
  226. package/resource/knowledge/push/integration/harmonyos.md +0 -2
  227. package/resource/knowledge/push/integration/ios.md +0 -3
  228. package/resource/knowledge/push/integration/react-native.md +0 -24
  229. package/resource/knowledge/push/integration/uni-app.md +1 -11
  230. package/resource/knowledge/push/integration/unity.md +0 -9
  231. package/resource/knowledge/push/integration/unreal-engine.md +1 -17
  232. package/resource/knowledge/roomkit/best-practice/common/room-ghost-member.md +70 -0
  233. package/resource/knowledge/roomkit/best-practice/common/room-limit-and-multi.md +83 -0
  234. package/resource/knowledge/roomkit/best-practice/common/room-screen-share-preview.md +83 -0
  235. package/resource/knowledge/roomkit/best-practice/common/room-status-after-all-leave.md +69 -0
  236. package/resource/knowledge/roomkit/best-practice/vue/room-uikit-vs-atomicx.md +111 -0
  237. package/resource/knowledge/roomkit/core-sdk/android/call-user-to-room.md +0 -4
  238. package/resource/knowledge/roomkit/core-sdk/android/room-participant-state.md +0 -4
  239. package/resource/knowledge/roomkit/core-sdk/android/room-state.md +0 -4
  240. package/resource/knowledge/roomkit/core-sdk/android/schedule-room.md +1 -5
  241. package/resource/knowledge/roomkit/core-sdk/ios/call-user-to-room.md +0 -4
  242. package/resource/knowledge/roomkit/core-sdk/ios/room-participant-state.md +0 -4
  243. package/resource/knowledge/roomkit/core-sdk/ios/room-state.md +0 -4
  244. package/resource/knowledge/roomkit/core-sdk/ios/schedule-room.md +1 -5
  245. package/resource/knowledge/roomkit/core-sdk/vue/call-user-to-room.md +1 -1
  246. package/resource/knowledge/roomkit/core-sdk/vue/device-state.md +0 -6
  247. package/resource/knowledge/roomkit/core-sdk/vue/free-beauty-panel.md +0 -9
  248. package/resource/knowledge/roomkit/core-sdk/vue/room-chat.md +0 -11
  249. package/resource/knowledge/roomkit/core-sdk/vue/room-participant-state.md +1 -5
  250. package/resource/knowledge/roomkit/core-sdk/vue/room-state.md +1 -8
  251. package/resource/knowledge/roomkit/core-sdk/vue/room-view.md +0 -3
  252. package/resource/knowledge/roomkit/core-sdk/vue/screen-share.md +0 -3
  253. package/resource/knowledge/roomkit/core-sdk/vue/virtual-background.md +0 -5
  254. package/resource/knowledge/roomkit/preset/android/integration.md +0 -4
  255. package/resource/knowledge/roomkit/preset/flutter/integration.md +1 -13
  256. package/resource/knowledge/roomkit/preset/ios/integration.md +0 -6
  257. package/resource/knowledge/roomkit/preset/react/integration.md +0 -16
  258. package/resource/knowledge/rtcengine/web/api.md +1 -8
  259. package/resource/knowledge/rtcengine/web/faq.md +3 -5
  260. package/resource/knowledge/rtcengine/web/how_to_integrated_web_sdk.md +0 -6
  261. package/resource/knowledge/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +1 -1
  262. package/resource/knowledge/rtcengine/web/plugin/21-advanced-auto-play-policy.md +1 -1
  263. package/resource/knowledge/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +1 -1
  264. package/resource/knowledge/rtcengine/web/plugin/27-advanced-small-stream.md +1 -1
  265. package/resource/knowledge/rtcengine/web/plugin/30-advanced-cross-room-link.md +2 -0
  266. package/resource/knowledge/rtcengine/web/plugin/31-advanced-plugins-overview.md +1 -3
  267. package/resource/knowledge/rtcengine/web/plugin/34-advanced-proxy.md +2 -4
  268. package/resource/knowledge/rtcengine/web/plugin/36-advanced-virtual-background.md +0 -4
  269. package/resource/knowledge/rtcengine/web/plugin/39-advanced-video-decoder.md +1 -1
  270. package/resource/knowledge/trtc/android/TRTCCloud.md +8 -56
  271. package/resource/knowledge/trtc/android/TRTCCloudDef.md +6 -7
  272. package/resource/knowledge/trtc/android/TRTCCloudListener.md +1 -18
  273. package/resource/knowledge/trtc/android/TXAudioEffectManager.md +0 -14
  274. package/resource/knowledge/trtc/android/TXDeviceManager.md +0 -1
  275. package/resource/knowledge/trtc/android/TXLiteAVCode.md +1 -1
  276. package/resource/knowledge/trtc/c++/ITRTCCloud.md +7 -59
  277. package/resource/knowledge/trtc/c++/ITXAudioEffectManager.md +0 -14
  278. package/resource/knowledge/trtc/c++/ITXDeviceManager.md +0 -4
  279. package/resource/knowledge/trtc/c++/TRTCCloudCallback.md +1 -19
  280. package/resource/knowledge/trtc/c++/TRTCTypeDef.md +6 -7
  281. package/resource/knowledge/trtc/c++/TXLiteAVCode.md +1 -1
  282. package/resource/knowledge/trtc/ios/TRTCCloud.md +9 -60
  283. package/resource/knowledge/trtc/ios/TRTCCloudDef.md +6 -7
  284. package/resource/knowledge/trtc/ios/TRTCCloudDelegate.md +1 -19
  285. package/resource/knowledge/trtc/ios/TXAudioEffectManager.md +0 -13
  286. package/resource/knowledge/trtc/ios/TXDeviceManager.md +0 -4
  287. package/resource/knowledge/trtc/ios/TXLiteAVCode.md +1 -1
  288. package/server.js +27 -22
  289. package/tools/common/finalize_answer.js +9 -1
  290. package/tools/common/search_trtc_knowledge.js +3 -1
  291. package/tools/definitions/finalize_answer_def.js +2 -2
  292. package/tools/definitions/integration-boundary.js +2 -1
  293. package/tools/definitions/search_trtc_knowledge_def.js +2 -1
  294. package/utils/report-cls-client.js +3 -3
  295. package/utils/report-es-client.js +1 -1
  296. package/cursor-setting.png +0 -0
  297. package/mcp-server-prompt.png +0 -0
  298. package/resource/knowledge/callkit/best-practice/web/callengine-invitation.md +0 -80
  299. package/resource/knowledge/callkit/best-practice/web/callengine-log-control.md +0 -24
  300. package/resource/knowledge/callkit/best-practice/web/callkit-call-vs-calls.md +0 -116
  301. package/resource/knowledge/callkit/preset/react/uikit-api-reference.md +0 -445
  302. package/resource/knowledge/callkit/preset/vue/uikit-api-reference.md +0 -465
  303. package/resource/knowledge/chat/best-practice/web/image-message-url-handling.md +0 -16
  304. package/resource/knowledge/roomkit/core-sdk/flutter/call-user-to-room.md +0 -230
  305. package/resource/knowledge/roomkit/core-sdk/flutter/room-participant-state.md +0 -797
  306. package/resource/knowledge/roomkit/core-sdk/flutter/room-state.md +0 -325
  307. package/resource/knowledge/roomkit/core-sdk/flutter/schedule-room.md +0 -325
@@ -4,10 +4,6 @@
4
4
 
5
5
  You can use these default language packs, customize translation strings, or add additional language packs as needed.
6
6
 
7
- |**English**|**Arabic**|**Simplified Chinese**|
8
- |---------|---------|---------|
9
- ||||
10
-
11
7
  ## Using Built-in Languages
12
8
 
13
9
  If your application only needs to support **English**, **Simplified Chinese**, **Traditional Chinese**, or **Arabic**, follow the instructions in this section.
@@ -29,7 +25,6 @@ AppCompatDelegate.setApplicationLocales(LocaleListCompat.forLanguageTags("zh"))
29
25
  ```
30
26
 
31
27
  > **Notice:**
32
- >
33
28
  > The `setApplicationLocales` method requires a dependency on androidx.appcompat:appcompat, version 1.6.0 or higher.
34
29
  >
35
30
 
@@ -74,7 +69,6 @@ atomic-x/src/main/
74
69
  Use the default `strings.xml` file in each module as a reference and translate each `key` into Korean.
75
70
 
76
71
  > **Note:**
77
- >
78
72
  > 1. Multilingual resources for `TUIKit Compose` are distributed across multiple modules: `app`, `uikit`, and `atomic-x`. Add `values-ko` to all relevant modules.
79
73
  > 2. The `res-emoji-picker` module includes both `strings.xml` and `strings-emoji.xml`. When adding a new language, complete both files.
80
74
  > 3. For language codes, see Resource Qualifier Rules.
@@ -107,8 +101,6 @@ To set the interface language of `TUIKit Compose` to Korean, use `setApplication
107
101
  AppCompatDelegate.setApplicationLocales(LocaleListCompat.forLanguageTags("ko"))
108
102
  ```
109
103
 
110
- Once these steps are complete, the interface displays in Korean, as shown below:
111
-
112
104
  ## Appendix: Resource Qualifier Rules
113
105
 
114
106
  |Language|Code|Language|Code|
@@ -1,9 +1,6 @@
1
1
  ## Component Overview
2
2
 
3
3
  MessageInput is a Jetpack Compose component that provides a full-featured message input interface for users. It supports composing and sending various message types, including text, images, videos, files, and voice messages. Additional features include emoji selection, flexible style configuration, and extensive customization options.
4
- | <strong>Message Input Interface</strong> | <strong>Emoji Picker</strong> |
5
- | --- | --- |
6
- | | |
7
4
 
8
5
  ## Component Integration
9
6
 
@@ -52,6 +49,3 @@ MessageInput(
52
49
  ```
53
50
 
54
51
  See the customization results below:
55
- | <strong>Default Input Box</strong> | <strong>Audio Recording Hidden</strong> | <strong>All Features Hidden</strong> |
56
- | --- | --- | --- |
57
- | | | |
@@ -7,10 +7,6 @@ MessageList is a Jetpack Compose component designed to display and manage chat m
7
7
 
8
8
  - Highly customizable: configure styles (bubble color, corner radius, font, etc.) and custom action items.
9
9
 
10
- | <strong>Chat Message List</strong> | <strong>Message Long-Press Menu</strong> |
11
- | --- | --- |
12
- | | |
13
-
14
10
  ## Component Integration
15
11
 
16
12
  MessageList is part of TUIKit Compose. To use MessageList, integrate TUIKit Compose into your project. For integration instructions, see the [TUIKit Compose documentation](https://www.tencentcloud.com/document/product/1047/77459).
@@ -131,11 +127,7 @@ MessageList(
131
127
  ```
132
128
 
133
129
  > **Note:**
134
- >
135
130
  > Local configuration takes precedence over global configuration.
136
131
  >
137
132
 
138
133
  Customization examples:
139
- | <strong>Message List Actions</strong><br><strong>(Default Options)</strong> | <strong>Message List Actions</strong><br><strong>(Copy Option Hidden)</strong> | <strong>Message List Actions</strong><br><strong>(Share Option Added)</strong> |
140
- | --- | --- | --- |
141
- | | | |
@@ -3,14 +3,9 @@
3
3
  Search component provides users with a complete set of features, including a search box, search results display, and navigation within the interface. The component supports user search, group search, and message search, and offers a comprehensive set of interactive webhook interfaces.
4
4
 
5
5
  > **Note:**
6
- >
7
6
  > Search function is available in the Pro edition or Enterprise edition. You can use this feature after purchasing the Pro edition or Enterprise edition package. For details, see [Pricing Information](https://trtc.io/document/67650).
8
7
  >
9
8
 
10
- | <strong>Search Entry</strong> | <strong>Search Results</strong> |
11
- | --- | --- |
12
- | | |
13
-
14
9
  ## Component Integration
15
10
 
16
11
  The Search component is included in TUIKit Compose. To use the Search component, integrate TUIKit Compose into your project. For integration instructions, refer to the [TUIKit Compose documentation](https://www.tencentcloud.com/document/product/1047/77459) and complete the login process.
@@ -36,8 +31,6 @@ The routing logic for search results in `SearchScreen` is as follows:
36
31
 
37
32
  Example:
38
33
 
39
- Initialize the `SearchScreen` component as shown below:
40
-
41
34
  ``` java
42
35
  SearchScreen(
43
36
  modifier = Modifier.Companion
@@ -1,9 +1,6 @@
1
1
  TUIKit Compose offers flexible appearance customization with support for Light, Dark, and System theme modes, along with customizable primary colors. A simple configuration enables theme switching and brand color application throughout your app.
2
2
 
3
3
  For example, in the message list, you can see how different theme modes and primary colors affect the UI:
4
- | <strong>Light + Default Color</strong> | <strong>Light + Orange</strong> | <strong>Dark + Default Color</strong> | <strong>Dark + Green Theme</strong> |
5
- | --- | --- | --- | --- |
6
- | | | | |
7
4
 
8
5
  ## Key Features
9
6
 
@@ -41,7 +38,6 @@ All theme configuration and queries are handled through concise APIs in `ThemeSt
41
38
  |`clearPrimaryColor`|None|`Unit`|Resets the primary color to the default blue.|
42
39
 
43
40
  > **Note:**
44
- >
45
41
  > - When you call setThemeMode or setPrimaryColor, your settings are automatically saved to persistent storage. No manual saving is required. The configuration will be loaded automatically the next time the app starts.
46
42
  > - Changing theme settings automatically clears the cache to ensure real-time color updates. You do not need to manage the cache manually.
47
43
  > - Avoid frequent theme switching in your code (for example, do not call these APIs in a loop).
@@ -162,7 +162,6 @@ LoginStore.shared.login(
162
162
  ```
163
163
 
164
164
  > **Note:**
165
- >
166
165
  > In a production environment, we recommend generating UserSig on your server. When needed, your app should request a dynamic UserSig from your business server for authentication. For details, see [Generating UserSig on the Server](https://intl.cloud.tencent.com/document/product/1047/34385).
167
166
  >
168
167
 
@@ -232,7 +231,6 @@ class ChatActivity : AppCompatActivity() {
232
231
  ```
233
232
 
234
233
  > **Note:**
235
- >
236
234
  > The Activity that hosts the chat page **must** use a Material Components theme, such as `setTheme(com.google.android.material.R.style.Theme_MaterialComponents_Light_NoActionBar)`. Otherwise, Material controls used inside `ChatPageView` may crash at runtime because required theme attributes are missing.
237
235
  >
238
236
 
@@ -286,7 +284,3 @@ ThemeStore.shared(context).setTheme(Theme.lightTheme(context))
286
284
  ##### Using Emoji Packs
287
285
 
288
286
  To respect emoji design copyrights, the Chat Demo/TUIKit project does not include large emoji image assets. Before commercial release, replace them with emoji packs designed by you or otherwise licensed to you. The default **smiley emoji pack shown below is copyrighted by Tencent Cloud**, and you can use it for free by upgrading to [Chat Pro Plus or Enterprise Edition](https://console.trtc.io/subscription/buy/chat).
289
-
290
- ## Contact Us
291
-
292
- If you have any questions or suggestions during integration or use, [contact us](https://trtc.io/contact) to submit feedback.
@@ -3,9 +3,6 @@
3
3
  ChatSetting is a suite of chat settings components, featuring two primary modules: C2CChatSetting for one-on-one chat settings and GroupChatSetting for group chat settings.
4
4
 
5
5
  These components offer a complete set of tools for managing chat sessions, including user information management, permission controls, group management, and other essential features.
6
- | C2C Chat Settings Interface | Group Chat Settings Interface |
7
- | --- | --- |
8
- | | |
9
6
 
10
7
  ## Component Integration
11
8
 
@@ -37,7 +34,6 @@ ChatSetting provides two main components: C2CChatSetting for one-on-one chat set
37
34
 
38
35
  ## Basic Usage
39
36
 
40
- To display the one-on-one chat settings page, initialize C2CChatSetting as shown below:
41
37
  ``` swift
42
38
  C2CChatSetting(
43
39
  userID: userID,
@@ -1,9 +1,6 @@
1
1
  ## Component Overview
2
2
 
3
3
  ContactList is a full-featured contact management component designed for chat applications. It enables users to view friend lists, process friend requests, manage group lists, and maintain blacklists. The component also provides a robust set of interactive webhook interfaces for custom event handling.
4
- | <strong>Contact List</strong> | <strong>Group List</strong> | <strong>Friend Request List</strong> |
5
- | --- | --- | --- |
6
- | | | |
7
4
 
8
5
  ## Component Integration
9
6
 
@@ -17,17 +14,11 @@ The `ContactList` component is included in TUIKit Flutter. To use `ContactList`,
17
14
  | <code>ContactList</code> | <code>onGroupClick: (ContactInfo contactInfo) {}</code> | Webhook triggered when a group is clicked. Optional. |
18
15
  | <code>onContactClick: (ContactInfo contactInfo) {}</code> | Webhook triggered when a contact is clicked. Optional. | |
19
16
 
20
- The upper section of the `ContactList` displays navigation cells for subviews such as friend requests, group chat requests, group chat list, and blacklist. The lower section contains the contact list itself, as shown below:
21
-
22
17
  ## Basic Usage
23
18
  - When you tap the entry cells for friend requests, group chat requests, group chat list, or blacklist in `ContactList`, navigation to the appropriate subview is handled automatically—no additional configuration is required.
24
19
 
25
20
  - When you tap a group in the group list or a contact in the contact list or blacklist, the corresponding webhook (`onGroupClick` or `onContactClick`) is triggered. Listen to these webhooks to implement custom navigation or behaviors.
26
21
 
27
- For example, route navigation can be handled as shown below:
28
-
29
- To display the contact list directly, initialize `ContactList` as shown below:
30
-
31
22
  ``` swift
32
23
  ContactList(
33
24
  onGroupClick: (ContactInfo contactInfo) {
@@ -1,9 +1,6 @@
1
1
  ## Component Overview
2
2
 
3
3
  ConversationList is a UI component that displays and manages user chat conversations. It provides a robust feature set for conversation listing—enabling users to view conversations and perform key actions directly from the list.
4
- | <strong>Conversation List</strong> | <strong>Conversation Actions</strong> |
5
- | --- | --- |
6
- | | |
7
4
 
8
5
  ## Component Integration
9
6
 
@@ -118,11 +115,7 @@ Expanded(
118
115
  ```
119
116
 
120
117
  > **Note:**
121
- >
122
118
  > Local configuration takes precedence over global configuration.
123
119
  >
124
120
 
125
121
  Below are examples of customization effects:
126
- | Conversation Actions (Default Options) | Conversation Actions (Delete Option Hidden) | Conversation Actions (Share Option Added) |
127
- | --- | --- | --- |
128
- | | | |
@@ -1,14 +1,9 @@
1
1
  TUIKit Flutter includes built-in language packs for **Simplified Chinese, Traditional Chinese, English, Japanese, Korean, and Arabic**. These packs allow you to set the user interface language easily. With a simple configuration, you can enable dynamic language switching in your app.
2
2
 
3
- |Simplified Chinese|Traditional Chinese|English|Japanese|Korean|Arabic|
4
- |---------|---------|---------|---------|---------|---------|
5
- |||||||
6
-
7
3
  ## Using Built-in Languages
8
4
 
9
5
  ### Language Setup
10
6
 
11
- After integrating the component as described in [TUIKit Flutter](https://www.tencentcloud.com/document/product/1047/77489), you can enable internationalization using `LocaleProvider` and `AtomicLocalizations`. Wrap your app's main entry point with `MultiProvider`, and configure the language settings in `MaterialApp` as shown below. For a complete example, see the [demo](https://github.com/Tencent-RTC/TUIKit_Flutter/blob/main/chat/demo/lib/main.dart):
12
7
  ``` javascript
13
8
  @override
14
9
  Widget build(BuildContext context) {
@@ -1,9 +1,6 @@
1
1
  ## Component Overview
2
2
 
3
3
  MessageInput is a message input component that enables users to create and send messages with a full range of editing options. It supports various message types, including text, images, videos, files, and voice messages. The component also includes features such as emoji selection and offers flexible styling and customization options.
4
- | <strong>Message Input Interface</strong> | <strong>Emoji Picker</strong> |
5
- | --- | --- |
6
- | | |
7
4
 
8
5
  ## Component Integration
9
6
 
@@ -49,6 +46,3 @@ MessageInput(
49
46
  ```
50
47
 
51
48
  Examples of different configurations:
52
- | <strong>Default Input Box</strong> | <strong>Input Box with Audio Recording Hidden</strong> | <strong>Input Box with All Features Hidden</strong> |
53
- | --- | --- | --- |
54
- | | | |
@@ -7,10 +7,6 @@ MessageList is a Flutter component designed for displaying and managing chat mes
7
7
 
8
8
  - Extensive customization: configure bubble color, corner radius, font, and add custom actions.
9
9
 
10
- | <strong>Chat Message List</strong> | <strong>Message Long-Press Menu</strong> |
11
- | --- | --- |
12
- | | |
13
-
14
10
  MessageList is available as part of TUIKit Flutter. To integrate MessageList, add TUIKit Flutter to your project. For detailed setup instructions, refer to the [TUIKit Flutter documentation](https://www.tencentcloud.com/document/product/1047/77489).
15
11
 
16
12
  ## Component Structure
@@ -148,10 +144,6 @@ MessageList(
148
144
  ```
149
145
 
150
146
  > **Note:**
151
- >
152
147
  > Local configurations override global configuration settings.
153
148
  >
154
149
 
155
- | <strong>Message List Actions</strong><br><strong>(Default Options)</strong> | <strong>Message List Actions</strong><br><strong>(Copy Option Hidden)</strong> | <strong>Message List Actions</strong><br><strong>(Share Option Added)</strong> |
156
- | --- | --- | --- |
157
- | | | |
@@ -3,14 +3,9 @@
3
3
  The Search component provides a full-featured search experience, including a search bar, results display, and seamless page navigation. It supports searching for users, groups, and messages, and offers extensive interactive Webhook integration for custom workflows.
4
4
 
5
5
  > **Note:**
6
- >
7
6
  > Search is available in the Pro edition and Enterprise edition. To use Search function, you need to purchase either the Pro or Enterprise package. For details, see [Billing Information](https://trtc.io/document/67650).
8
7
  >
9
8
 
10
- | <strong>Search Entry</strong> | <strong>Search Results</strong> |
11
- | --- | --- |
12
- | | |
13
-
14
9
  ## Component Integration
15
10
 
16
11
  Search is included in TUIKit Flutter. To use the Search component, integrate TUIKit Flutter into your project and complete the login flow. For detailed integration steps, refer to the [TUIKit Flutter](https://www.tencentcloud.com/document/product/1047/77489) documentation.
@@ -1,9 +1,6 @@
1
1
  TUIKit Flutter offers flexible appearance customization with support for Light, Dark, and System theme modes, along with customizable primary colors. A simple configuration enables theme switching and brand color application throughout your app.
2
2
 
3
3
  For example, in the message list, you can see how different theme modes and primary colors affect the UI:
4
- | <strong>Light + Default Color</strong> | <strong>Light + Orange</strong> | <strong>Dark + Default Color</strong> | <strong>Dark + Green Theme</strong> |
5
- | --- | --- | --- | --- |
6
- | | | | |
7
4
 
8
5
  ## Core Features
9
6
 
@@ -62,7 +59,6 @@ This section covers how to integrate and apply theme and color customization in
62
59
 
63
60
  ### Project Setup
64
61
 
65
- Wrap your app's entry point with `ComponentTheme` and configure `MaterialApp` as shown below. For implementation details, see the [demo](https://github.com/Tencent-RTC/TUIKit_Flutter/blob/main/chat/demo/lib/main.dart):
66
62
  ``` java
67
63
  @override
68
64
  Widget build(BuildContext context) {
@@ -3,9 +3,6 @@
3
3
  ChatSetting is a set of chat settings components built with SwiftUI. It includes two main components: C2CChatSetting (C2C Chat Settings) and GroupChatSetting (Group Chat Settings).
4
4
 
5
5
  These components offer robust chat session management features, such as user information management, permission controls, group management, and other essential capabilities.
6
- | <strong>C2C Chat Settings Interface</strong> | <strong>Group Chat Settings Interface</strong> |
7
- | --- | --- |
8
- | | |
9
6
 
10
7
  ## Component Integration
11
8
 
@@ -49,7 +46,6 @@ ChatSetting contains two main components: C2CChatSetting (C2C Chat Settings) and
49
46
 
50
47
  ## Basic Usage
51
48
 
52
- To display the C2C Chat Settings page, initialize C2CChatSetting as shown below:
53
49
  ``` swift
54
50
  import AtomicX
55
51
  import SwiftUI
@@ -71,7 +67,6 @@ struct C2CSettingView: View {
71
67
  }
72
68
  ```
73
69
 
74
- To display the Group Chat Settings page, initialize GroupChatSetting as shown below:
75
70
  ``` swift
76
71
  import AtomicX
77
72
  import SwiftUI
@@ -1,9 +1,6 @@
1
1
  ## Component Overview
2
2
 
3
3
  ContactList is a SwiftUI component that provides a complete contact management interface. It supports displaying contacts, handling friend requests, managing group lists, blacklist management, and offers a variety of interactive webhook interfaces.
4
- | <strong>Contact List</strong> | <strong>Group List</strong> | <strong>Friend Request List</strong> |
5
- | --- | --- | --- |
6
- | | | |
7
4
 
8
5
  ## Component Integration
9
6
 
@@ -18,8 +15,6 @@ The `ContactList` component is included in TUIKit SwiftUI. To use `ContactList`,
18
15
  | <code>onContactClick: ((AZOrderedListItem) -> Void)?</code> | Webhook triggered when a contact is clicked. Optional. | |
19
16
  | <code>onGroupClick: ((AZOrderedListItem) -> Void)?</code> | Webhook triggered when a group is clicked. Optional. | |
20
17
 
21
- The top section of `ContactList` includes entry cells for subviews such as friend requests, group requests, group list, and blacklist. The lower section displays the contact list, as shown below:
22
-
23
18
  `ContactList` includes built-in navigation for subpages. When you tap entries such as friend requests, group requests, group list, or blacklist, the corresponding subpage opens automatically as a full-screen modal (fullScreenCover). No manual navigation handling is required.
24
19
 
25
20
  If you want to use subpages independently (such as the friend request list or group list), each subpage provides its own initializer, as described below:
@@ -1,9 +1,6 @@
1
1
  ## Component Overview
2
2
 
3
3
  ConversationList is a SwiftUI component for displaying and managing user chat conversations. It offers a full set of conversation list features, including conversation display and interactive actions.
4
- | <strong>Conversation List</strong> | <strong>Conversation Actions</strong> |
5
- | --- | --- |
6
- | | |
7
4
 
8
5
  ## Component Integration
9
6
 
@@ -123,11 +120,7 @@ ConversationList(
123
120
  ```
124
121
 
125
122
  > **Note:**
126
- >
127
123
  > Local configuration takes precedence over global configuration.
128
124
  >
129
125
 
130
126
  The following images show the customization effects:
131
- | <strong>Conversation Actions</strong><br><strong>(Default Options)</strong> | <strong>Conversation Actions</strong><br><strong>(Delete Option Hidden)</strong> | <strong>Conversation Actions</strong><br><strong>(Share Option Added)</strong> |
132
- | --- | --- | --- |
133
- | | | |
@@ -4,10 +4,6 @@
4
4
 
5
5
  This documentation covers how to use these default language packs, customize translation entries, or add new language packs.
6
6
 
7
- |**English**|**Arabic**|**Simplified Chinese**|
8
- |---------|---------|---------|
9
- ||||
10
-
11
7
  ## Using Built-in Languages
12
8
 
13
9
  If your app only needs to support **English**, **Simplified Chinese**, **Traditional Chinese**, and **Arabic**, follow this section.
@@ -47,10 +43,9 @@ Resources/strings/ChatLocalizable.bundle/Localizable/
47
43
  └── ko.lproj/Localizable.strings // Korean translation file; "ko" is the ISO 639-1 language code for Korean
48
44
  ```
49
45
 
50
- Refer to the keys in `en.lproj/Localizable.strings` and provide Korean translations for each entry.
46
+ .lproj/Localizable.strings` and provide Korean translations for each entry.
51
47
 
52
48
  > **Note:**
53
- >
54
49
  > 1. For other bundles (such as AlbumPickerLocalizable, VideoRecorderLocalizable, RTCLocalizable, etc.), it's recommended to add `ko.lproj` as well.
55
50
  > 2. For the full list of language codes, see ISO 639-1 language codes.
56
51
 
@@ -97,8 +92,6 @@ let languageState = LanguageState()
97
92
  languageState.setLanguage("zh-Hans")
98
93
  ```
99
94
 
100
- Once completed, the interface will display in Korean, as shown below:
101
-
102
95
  ## Appendix: Language Code Table
103
96
 
104
97
  |Language|Code|Language|Code|
@@ -1,9 +1,6 @@
1
1
  ## Component Overview
2
2
 
3
3
  MessageInput is a SwiftUI-based message input component that enables users to compose and send a variety of message types, including text, images, videos, files, and voice messages. It features an integrated emoji picker, supports multiple style configurations, and offers extensive customization options.
4
- | <strong>Message Input Interface</strong> | <strong>Emoji Picker</strong> |
5
- | --- | --- |
6
- | | |
7
4
 
8
5
  ## Component Integration
9
6
 
@@ -64,6 +61,3 @@ MessageInput(
64
61
  ```
65
62
 
66
63
  The following images show different customization effects:
67
- | <strong>Default Input Box</strong> | <strong>Input Box with Audio Recording Hidden</strong> | <strong>Input Box with All Features Hidden</strong> |
68
- | --- | --- | --- |
69
- | | | |
@@ -7,10 +7,6 @@ MessageList is a SwiftUI-based component designed for displaying and managing ch
7
7
 
8
8
  - Highly customizable: Configure styles like bubble color, corner radius, font, and add custom action items.
9
9
 
10
- | <strong>Chat Message List</strong> | <strong>Message Long-Press Menu</strong> |
11
- | --- | --- |
12
- | | |
13
-
14
10
  ## Component Integration
15
11
 
16
12
  MessageList is part of TUIKit SwiftUI. To use MessageList, first integrate TUIKit SwiftUI. For detailed integration steps, see the [TUIKit SwiftUI documentation](https://www.tencentcloud.com/document/product/1047/77460).
@@ -151,11 +147,7 @@ MessageList(
151
147
  ```
152
148
 
153
149
  > **Note:**
154
- >
155
150
  > Local configuration overrides global configuration.
156
151
  >
157
152
 
158
153
  The following images show the customization effects:
159
- | <strong>Message List Actions</strong><br><strong>(Default Options)</strong> | <strong>Message List Actions</strong><br><strong>(Hide Copy Option)</strong> | <strong>Message List Actions</strong><br><strong>(Add Share Option)</strong> |
160
- | --- | --- | --- |
161
- | | | |
@@ -3,14 +3,9 @@
3
3
  Search is a search component that provides users with a complete set of features, including a search box, search result display, and interface navigation. This component supports user search, group search, and message search, and offers a comprehensive set of interactive webhook interfaces.
4
4
 
5
5
  > **Note:**
6
- >
7
6
  > Search function is available only in the Pro Edition or Enterprise Edition. You can use this feature after purchasing the Pro Edition or Enterprise Edition package. For details, see [Pricing Information](https://trtc.io/document/67650).
8
7
  >
9
8
 
10
- | <strong>Search Entry</strong> | <strong>Search Results</strong> |
11
- | --- | --- |
12
- | | |
13
-
14
9
  ## Component Integration
15
10
 
16
11
  The Search component is included in TUIKit SwiftUI. To use the Search component, integrate TUIKit SwiftUI into your project. For detailed integration steps, refer to the [TUIKit SwiftUI](https://www.tencentcloud.com/document/product/1047/77460) documentation and complete the login process.
@@ -1,9 +1,6 @@
1
1
  TUIKit offers flexible appearance customization with support for Light, Dark, and System theme modes, along with customizable primary colors. A simple configuration enables theme switching and brand color application throughout your app.
2
2
 
3
3
  For example, in the message list, you can see how different theme modes and primary colors affect the UI:
4
- | <strong>Light + Default Color</strong> | <strong>Light + Orange</strong> | <strong>Dark + Default Color</strong> | <strong>Dark + Green Theme</strong> |
5
- | --- | --- | --- | --- |
6
- | | | | |
7
4
 
8
5
  ## Core Capabilities
9
6
 
@@ -41,7 +38,6 @@ All theme configuration and queries are handled through a simple set of APIs in
41
38
  |`clearPrimaryColor()`|None|`Void`|Removes the custom primary color and restores the default blue.|
42
39
 
43
40
  > **Note:**
44
- >
45
41
  > 1. After calling `setThemeMode` or `setPrimaryColor`, the configuration is automatically saved to `UserDefaults`. No manual saving is required. The settings will be loaded automatically when the app restarts.
46
42
  > 2. When you update the theme configuration, the cache is cleared automatically to ensure the color scheme updates in real time. No manual cache management is needed.
47
43
  > 3. Avoid frequent theme changes when using these APIs (for example, do not call them in a loop).
@@ -44,7 +44,6 @@ TUIKit is a UI component library built on the Chat SDK. It enables rapid impleme
44
44
  【Remote CocoaPods Integration】
45
45
 
46
46
  > **Note:**
47
- >
48
47
  > 1. Starting from version 8.5.6870, TUIKit supports Swift components.
49
48
  > 2. If you add only `pod 'TUIChat'` in your Podfile without specifying Classic or Minimalist UI, both UI component versions will be integrated by default.
50
49
  > 3. **Classic and Minimalist UI cannot be mixed.** When integrating multiple components, select either all Classic UI or all Minimalist UI components. For example, the Classic `TUIChat` component must be used with Classic `TUIConversation` and `TUIContact` components. Similarly, the Minimalist `TUIChat` component must be used with Minimalist `TUIConversation` and `TUIContact` components.
@@ -347,7 +346,6 @@ pod install
347
346
  ```
348
347
 
349
348
  > **Note:**
350
- >
351
349
  > 1. If you cannot install the latest version of TUIKit, run `pod repo update` to update your local CocoaPods repository, then run `pod update` to update the component library version.
352
350
  > 2. If you encounter third-party library version conflicts, see CocoaPods FAQs - Dependency Version Conflicts.
353
351
 
@@ -728,7 +726,3 @@ pod install
728
726
  #### Using Emoji Packs
729
727
 
730
728
  To respect the copyright of emoji designs, the Chat Demo/TUIKit project does not include cutouts of large emoji elements. Please replace them with your own designs or other emoji packs for which you hold the copyright before officially launching for commercial use. **The default smiley face emoji pack shown below is copyrighted by Tencent RTC**, you can upgrade to [Chat Pro Plus Edition and Enterprise Edition](https://console.trtc.io/subscription/buy/chat) to use it for free.
731
-
732
- ## Contact Us
733
-
734
- If you have any questions or suggestions, feel free to join our [Telegram](https://t.me/tencent_imsdk) or [WhatsApp](https://chat.whatsapp.com/IVa11ZkVmKTEwSWsAzSyik) community, or [contact us](https://trtc.io/contact) for support.
@@ -72,8 +72,6 @@ By setting the `enableSearch` parameter, you can flexibly control the display of
72
72
  <ContactList enableSearch={false} />
73
73
  ```
74
74
 
75
- The effect is as shown below.
76
-
77
75
  ### Custom Contact List Contact Group Configuration
78
76
 
79
77
  `groupConfig` is used for custom group configuration, including title, display sequence, hidden state, etc. The default value is `{}`.
@@ -111,8 +109,6 @@ function CustomGroupTitlesContactList() {
111
109
  }
112
110
  ```
113
111
 
114
- The effect is as shown below.
115
-
116
112
  【Hide Specific Group】
117
113
  ``` typescript
118
114
  import React from 'react';
@@ -142,8 +138,6 @@ function HiddenGroupsContactList() {
142
138
  }
143
139
  ```
144
140
 
145
- The effect is as shown below.
146
-
147
141
  ### Custom Contact List Sub-Item
148
142
 
149
143
  ContactItem is used for custom rendering component of contact person, with default value as built-in `ContactListItem` component.
@@ -190,8 +184,6 @@ function ContactListWithSimpleItems() {
190
184
  }
191
185
  ```
192
186
 
193
- The effect is as shown below.
194
-
195
187
  ### Custom Contact Person Detail Action Button Switch
196
188
 
197
189
  `showActions` specifies whether to display action buttons. The default value is `true`.
@@ -220,8 +212,6 @@ function ReadOnlyContactInfo() {
220
212
  }
221
213
  ```
222
214
 
223
- The effect is as shown below.
224
-
225
215
  ### Custom Contact Person Detail Empty Status
226
216
 
227
217
  `PlaceholderEmpty` is used for custom empty status display content, default value is `undefined`.
@@ -255,12 +245,9 @@ function CustomEmptyState() {
255
245
  }
256
246
  ```
257
247
 
258
- The effect is as shown below.
259
-
260
248
  ### Custom Contact Person Detail Component
261
249
 
262
250
  > **Note:**
263
- >
264
251
  > - `FriendInfoComponent` for custom friend information component, default value is built-in `FriendInfo` component.
265
252
  > - `GroupInfoComponent` for custom group information component, default value is built-in `GroupInfo` component.
266
253
  > - `BlacklistInfoComponent` for custom blocklist information component, default value is built-in `BlacklistInfo` component.
@@ -334,8 +321,6 @@ function CustomFriendInfoDemo() {
334
321
  }
335
322
  ```
336
323
 
337
- The effect is as shown below.
338
-
339
324
  【Custom Group Information Component】
340
325
  ``` typescript
341
326
  import React from 'react';
@@ -424,8 +409,6 @@ function CustomGroupInfoDemo() {
424
409
  }
425
410
  ```
426
411
 
427
- The effect is as shown below.
428
-
429
412
  【Custom Blocklist Information Component】
430
413
  ``` typescript
431
414
  import React from 'react';
@@ -499,8 +482,6 @@ function CustomBlacklistInfoDemo() {
499
482
  }
500
483
  ```
501
484
 
502
- The effect is as shown below.
503
-
504
485
  【Custom Friend Request Information Component】
505
486
  ``` typescript
506
487
  import React from 'react';
@@ -589,8 +570,6 @@ function CustomFriendApplicationInfoDemo() {
589
570
  }
590
571
  ```
591
572
 
592
- The effect is as shown below.
593
-
594
573
  【Custom Group Application Information Component】
595
574
  ``` typescript
596
575
  import React from 'react';
@@ -684,6 +663,4 @@ function CustomGroupApplicationInfoDemo() {
684
663
  }
685
664
  ```
686
665
 
687
- The effect is as shown below.
688
-
689
666
  ##
@@ -82,17 +82,15 @@ Use the `enablePin`, `enableDelete`, and `enableMute` props to control the visib
82
82
  ``` typescript
83
83
  <ConversationActions enablePin={false} />
84
84
  ```
85
+
85
86
  ``` typescript
86
87
  <ConversationActions enableDelete={false} />
87
88
  ```
89
+
88
90
  ``` typescript
89
91
  <ConversationActions enableMute={false} />
90
92
  ```
91
93
 
92
- |`enablePin={false}`|`enableDelete={false}`|`enableMute={false}`|
93
- |---------|---------|---------|
94
- ||||
95
-
96
94
  ### Event Handling
97
95
 
98
96
  `ConversationActions` provides built-in support for deleting conversations, pinning or unpinning conversations, and enabling or disabling Do Not Disturb. If you need to override the default event handlers, provide your own handler functions. You can also use the `onClick` prop to handle generic click events.
@@ -157,10 +155,6 @@ const CustomConversationActions = (props: ConversationActionsProps) => {
157
155
  <ConversationList ConversationActions={CustomConversationActions} />
158
156
  ```
159
157
 
160
- |Before|After|
161
- |---------|---------|
162
- |||
163
-
164
158
  ### UI Customization
165
159
 
166
160
  You can fully customize the conversation action menu using third-party UI elements.
@@ -210,6 +204,3 @@ function CustomConversationActions(props: ConversationActionsProps) {
210
204
  <ConversationList ConversationActions={CustomConversationActions} />
211
205
  ```
212
206
 
213
- |Before|After|
214
- |---------|---------|
215
- |||