get_forward_msg

get_forward_msg只读扩展
获取合并转发消息(id 或 message_id)

Call via POST http://127.0.0.1:3000/get_forward_msg (JSON params as the body) or WebSocket.

Parameters

Param Type Required Default Description
id string

Returns (data)

{ 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[] 转发消息节点数组
Raw JSON Schema
{
  "type": "object",
  "properties": {
    "messages": {
      "type": "array",
      "description": "转发消息节点数组",
      "items": {
        "type": "object"
      }
    }
  },
  "required": [
    "messages"
  ]
}

Examples

curl
Python
JavaScript
Go
SnowLuma SDK
curl -X POST http://127.0.0.1:3000/get_forward_msg \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <access-token>' \
  -d '{"id":""}'
Using an AI assistant?

MCP-capable clients can discover and call this action directly — no hand-written HTTP. See MCP.