set_group_add_request

set_group_add_request写操作请求
处理加群请求

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

Parameters

Param Type Required Default Description
flag string
sub_type raw
type raw
approve bool true
reason string ""

Returns (data)

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/set_group_add_request \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <access-token>' \
  -d '{"flag":"","sub_type":"","type":"","approve":true,"reason":""}'
Using an AI assistant?

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