index
IM 富文本、剪贴板 plain、@ 提及输入、合并转发与会话时间的统一导出入口。
子模块
| 模块 | 说明 |
|---|---|
| imRichContentHtml | wire HTML 解析、序列化、消毒、@ 降级 |
| imRichClipboardPlain | 带 \u2060 元数据的 plain 剪贴板格式 |
| getActiveMentionQuery | 光标前 @ 提及查询解析 |
| forwardBundlePayload | 合并转发 content/extra 编解码 |
| formatImChatConversationListTime | 会话列表相对时间 |
工作原理
- 本文件为 barrel,仅 re-export,无独立运行时逻辑。
- 终端 UI 类型见
zcw-shared/types/im-chat;接口 JSON 见zcw-shared/types/im-api。 - 各子模块文档包含完整函数签名与参数说明。