wildix-get-last-chats

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Get Last Chats

获取最新聊天记录

Returns the user's x-bees inbox — a list of chats sorted by last activity.
This skill fetches the user's chat list (inbox). It is not designed for resolving a specific chat by its ID or raw channel ID. For that, use the
wildix-get-chat
skill.
返回用户的x-bees收件箱——按最后活动时间排序的聊天列表。
此skill用于获取用户的聊天列表(收件箱)。 它并非设计用于通过ID或原始频道ID解析特定聊天。如需完成该操作,请使用
wildix-get-chat
skill。

Peer Skills

关联Skill

Before running, check if
wildix-auth
is installed:
bash
Glob ~/.claude/skills/wildix-auth/SKILL.md
运行前,请检查是否已安装
wildix-auth
bash
Glob ~/.claude/skills/wildix-auth/SKILL.md

If missing: npx skills add Wildix/agent-skills --s wildix-auth -y

If missing: npx skills add Wildix/agent-skills --s wildix-auth -y


See [`peers.yaml`](peers.yaml) for full peer manifest.

完整的关联清单请查看[`peers.yaml`](peers.yaml)。

Flow

流程

  1. Get x-bees IdToken via
    wildix-auth
    skill — REQUIRED, do not skip
  2. Run the script
bash
ID_TOKEN="$ID_TOKEN" bash <BASE_DIR>/scripts/get-chats.sh [limit] [offset]
limit
— number of chats to return (default: 30)
offset
— skip this many chats (default: 0); use for pagination
Pagination example: to get page 2 with 30 chats per page, use
limit=30 offset=30
.
  1. 通过
    wildix-auth
    skill获取x-bees IdToken
    —— 必填,请勿跳过
  2. 运行脚本
bash
ID_TOKEN="$ID_TOKEN" bash <BASE_DIR>/scripts/get-chats.sh [limit] [offset]
limit
—— 返回的聊天数量(默认值:30)
offset
—— 跳过的聊天数量(默认值:0);用于分页
分页示例:若要获取每页30条的第2页,请使用
limit=30 offset=30

API

API接口

GET https://api.x-bees.com/v2/conversations/channels?limit={limit}&offset={offset}
Authorization:
Bearer <IdToken>
GET https://api.x-bees.com/v2/conversations/channels?limit={limit}&offset={offset}
授权方式:
Bearer <IdToken>

Display results

结果展示

The API returns channels already sorted by last message date (most recent first). Do not re-sort the list — preserve the original order from the API response.
Chats: {total}

1. {name} ({type}, {memberCount} members)
   channelId: {channelId}
API返回的频道已按最后消息日期排序(最近的在前)。请勿重新排序列表——请保留API响应中的原始顺序。
聊天记录:{total}

1. {name}({type},{memberCount}名成员)
   channelId: {channelId}