Call via POST http://127.0.0.1:3000/get_friend_msg_history (JSON params as the body) or WebSocket.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
user_id |
uint | ✓ | ||
message_id |
int | – | 0 |
|
count |
int | – | 20 |
{ messages }:好友消息事件对象数组(每项为 OneBot 消息事件,内部字段不固定)。
Every response is wrapped in the standard envelope: { "status": "ok", "retcode": 0, "data": ... }. The table below describes data.
| Field | Type | Required | Description |
|---|---|---|---|
messages |
object[] | ✓ | 消息事件对象数组 |
MCP-capable clients can discover and call this action directly — no hand-written HTTP. See MCP.