docs(appmsg): document quote message output

pull/28/head
hqhq1025 2026-05-04 16:57:20 +08:00 committed by jackwener
parent 6ec6e9c093
commit df78746fc3
3 changed files with 21 additions and 0 deletions

View File

@ -158,6 +158,15 @@ wx search "会议" --in "工作群" --since 2026-01-01
群聊里的 `last_sender`、`sender` 和 `stats``top_senders` 会优先使用群昵称(群名片)。如果本地数据库里没有对应群昵称,则回退到联系人备注、微信昵称或 username。
引用消息会在 `history` / `search` / `new-messages` 输出中显示当前回复和被引用原文:
```text
[引用] 当前回复
↳ 发送者: 被引用内容
```
`--type link` / `--type file` 会包含微信 appmsg 里的链接、文件、合并聊天记录和引用消息等变体;搜索时也会匹配解压后可见的引用原文。
### 朋友圈SNS
三个独立命令,区分"通知"和"帖子"

View File

@ -140,6 +140,15 @@ wx search "会议" --in "工作群" --since 2026-01-01
群聊消息里的 `last_sender`、`sender` 和 `stats.top_senders` 会优先显示群昵称(群名片)。如果本地数据库没有群昵称,再回退到联系人备注、微信昵称或 username。
引用消息appmsg `type=57`)在 `history` / `search` / `new-messages` 输出里会展开为两行:第一行是当前回复,第二行以 `↳` 开头显示被引用原文,例如:
```text
[引用] 当前回复
↳ 发送者: 被引用内容
```
`--type link` / `--type file` 会覆盖微信 appmsg 的链接、文件、合并聊天记录和引用消息等变体;`search --type link` 也会匹配解压并格式化后的引用原文。
### 联系人与群组
```bash

View File

@ -1360,6 +1360,7 @@ mod appmsg_tests {
"wxid_r605h38n08mv22",
false,
&HashMap::new(),
&HashMap::new(),
None,
None,
Some(49),
@ -1411,6 +1412,7 @@ mod appmsg_tests {
"wxid_r605h38n08mv22",
false,
&HashMap::new(),
&HashMap::new(),
"claude",
None,
None,
@ -1462,6 +1464,7 @@ mod appmsg_tests {
"wxid_r605h38n08mv22",
false,
&HashMap::new(),
&HashMap::new(),
"claude",
None,
None,