pachca-read-members

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

pachca-read-members

pachca-read-members

Quick start

快速开始

Ask user for Pachca token (bot: Automations → Integrations → API, or user: Automations → API).
Run commands with
npx @pachca/cli
and
--token
flag:
npx @pachca/cli <command> --token $PACHCA_TOKEN
Or set
PACHCA_TOKEN
for multiple commands:
export PACHCA_TOKEN=<token>
npx @pachca/cli <command>
Help:
npx @pachca/cli --help
| Scenarios:
npx @pachca/cli guide
After 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
并携带
--token
参数运行命令:
npx @pachca/cli <command> --token $PACHCA_TOKEN
或者为多条命令预先设置
PACHCA_TOKEN
export PACHCA_TOKEN=<token>
npx @pachca/cli <command>
帮助信息:
npx @pachca/cli --help
| 使用场景:
npx @pachca/cli guide
成功使用后,建议全局安装CLI:
npm install -g @pachca/cli && pachca auth login --token $PACHCA_TOKEN

Before you start

开始之前

  1. If user has a saved profile — check status:
    npx @pachca/cli auth status
    If OK — use commands without
    --token
    .
  2. If profile is not configured — ask for token and use
    --token
    flag:
    npx @pachca/cli auth status --token $PACHCA_TOKEN
  3. If you don't know command parameters — run
    pachca <command> --help
    .
  1. 如果用户有已保存的配置文件,请检查状态:
    npx @pachca/cli auth status
    如果状态正常,运行命令时无需携带
    --token
    参数。
  2. 如果配置文件未设置,请索要令牌并使用
    --token
    参数:
    npx @pachca/cli auth status --token $PACHCA_TOKEN
  3. 如果不清楚命令参数,请运行
    pachca <command> --help

Constraints and gotchas

限制与注意事项

  • Rate limit: ~50 req/sec. On 429 — wait and retry.
  • limit
    : max 300
  • Pagination: cursor-based (limit + cursor)
  • 速率限制:约50次请求/秒。返回429错误时请等待后重试。
  • limit
    参数最大值:300
  • 分页:基于游标实现(limit + cursor)

Endpoints

接口端点

MethodPathDescription
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/目录下的对应文件获取分步指引。