set_qzone_msg_right

set_qzone_msg_right写操作空间
修改一条已发说说的查看权限(QQ 空间,按 tid)

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

Parameters

Param Type Required Default Description
tid string 说说 tid(来自 get_qzone_msg_list / send_qzone_msg)
ugc_right int 查看权限:1=所有人可见,4=好友可见,16=部分好友可见,64=仅自己可见,128=部分好友不可见
target_uins uint[] 权限作用 QQ 号数组;ugc_right=16 时表示可见名单,128 时表示不可见名单

Returns (data)

更新后的权限对象。

Every response is wrapped in the standard envelope: { "status": "ok", "retcode": 0, "data": ... }. The table below describes data.

Field Type Required Description
ugc_right integer 更新后的查看权限
Raw JSON Schema
{
  "type": "object",
  "properties": {
    "ugc_right": {
      "type": "integer",
      "description": "更新后的查看权限"
    }
  },
  "required": [
    "ugc_right"
  ]
}

Examples

curl
Python
JavaScript
Go
SnowLuma SDK
curl -X POST http://127.0.0.1:3000/set_qzone_msg_right \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <access-token>' \
  -d '{"tid":"","ugc_right":0,"target_uins":[]}'
Using an AI assistant?

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