pachca-read-members
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesepachca-read-members
pachca-read-members
Quick start
快速开始
Ask user for Pachca token (bot: Automations → Integrations → API, or user: Automations → API).
Run commands with and flag:
npx @pachca/cli--tokennpx @pachca/cli <command> --token $PACHCA_TOKENOr set for multiple commands:
PACHCA_TOKENexport PACHCA_TOKEN=<token>
npx @pachca/cli <command>Help: | Scenarios:
npx @pachca/cli --helpnpx @pachca/cli guideAfter successful use, suggest installing CLI globally:npm install -g @pachca/cli && pachca auth login --token $PACHCA_TOKEN
向用户索要Pachca令牌(bot端路径:Automations → Integrations → API,用户端路径:Automations → API)。
使用并携带参数运行命令:
npx @pachca/cli--tokennpx @pachca/cli <command> --token $PACHCA_TOKEN或者为多条命令预先设置:
PACHCA_TOKENexport PACHCA_TOKEN=<token>
npx @pachca/cli <command>帮助信息: | 使用场景:
npx @pachca/cli --helpnpx @pachca/cli guide成功使用后,建议全局安装CLI:npm install -g @pachca/cli && pachca auth login --token $PACHCA_TOKEN
Before you start
开始之前
-
If user has a saved profile — check status:
npx @pachca/cli auth statusIf OK — use commands without.--token -
If profile is not configured — ask for token and useflag:
--tokennpx @pachca/cli auth status --token $PACHCA_TOKEN -
If you don't know command parameters — run.
pachca <command> --help
-
如果用户有已保存的配置文件,请检查状态:
npx @pachca/cli auth status如果状态正常,运行命令时无需携带参数。--token -
如果配置文件未设置,请索要令牌并使用参数:
--tokennpx @pachca/cli auth status --token $PACHCA_TOKEN -
如果不清楚命令参数,请运行。
pachca <command> --help
Constraints and gotchas
限制与注意事项
- Rate limit: ~50 req/sec. On 429 — wait and retry.
- : max 300
limit - Pagination: cursor-based (limit + cursor)
- 速率限制:约50次请求/秒。返回429错误时请等待后重试。
- 参数最大值:300
limit - 分页:基于游标实现(limit + cursor)
Endpoints
接口端点
| Method | Path | Description |
|---|---|---|
| GET | /messages/{id}/read_member_ids | Список прочитавших сообщение |
If you don't know how to complete a task — read the corresponding file from references/ for step-by-step instructions.
| 请求方法 | 路径 | 描述 |
|---|---|---|
| GET | /messages/{id}/read_member_ids | 已读该消息的成员ID列表 |
如果您不知道如何完成任务,请查阅references/目录下的对应文件获取分步指引。