# 本地tgchats

在您自己的本地服务器上，首选具有输出 JSON 的命令：

```bash
npm run dev -- chat <peer> --limit 20 --json
npm run dev -- outbox preview --payload '{"peers":["<peer>"],"text":"Quick verification: please reply with only the number you get from 17 + 6, followed by the word check"}' --json
npm run dev -- tags set <peer> "Needs Manual Verification" --json
npm run dev -- tasks add <peer> --due 2026-02-24 --why "Contact did not complete human verification challenge" --json
```

仅在预览获得批准后才使用`outbox send-approved <previewId>`。不要在任务注释中保存Telegram 会话文件、导出的会话和原始机密对话。
