set_group_search

set_group_search写操作群管理
设置群被搜索方式(群指纹 / 群号搜索开关)

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

Parameters

Param Type Required Default Description
group_id uint 群号
no_finger_open int
no_code_finger_open int

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

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