send_flash_msg

send_flash_msg写操作扩展
发送闪传消息(私聊或群聊,引用 fileset_id 让对端下载)

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

Parameters

Param Type Required Default Description
fileset_id string
user_id uint
group_id uint

Returns (data)

{ message_id }

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/send_flash_msg \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <access-token>' \
  -d '{"fileset_id":"","user_id":10001,"group_id":123456}'
Using an AI assistant?

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