trans_group_file

trans_group_file写操作扩展
转存群文件

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

Parameters

Param Type Required Default Description
group_id uint
file_id string

Returns (data)

{ ok: true }

Returns the standard OneBot envelope; the data shape is not yet documented.

Examples

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

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