get_doubt_friends_add_request

get_doubt_friends_add_request只读扩展
获取可疑好友申请

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

Parameters

Param Type Required Default Description
count int 50

Returns (data)

可疑好友申请数组,每项含 uid(作为处理用 flag)、昵称、来源、留言与申请时间。

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

data is an array; each element:

Field Type Required Description
uid string 申请人 uid(回传作 set_doubt_friends_add_request 的 flag)
nick string 申请人昵称
source string 申请来源
msg string 验证留言
reqTime integer 申请时间戳
Raw JSON Schema
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "uid": {
        "type": "string",
        "description": "申请人 uid(回传作 set_doubt_friends_add_request 的 flag)"
      },
      "nick": {
        "type": "string",
        "description": "申请人昵称"
      },
      "source": {
        "type": "string",
        "description": "申请来源"
      },
      "msg": {
        "type": "string",
        "description": "验证留言"
      },
      "reqTime": {
        "type": "integer",
        "description": "申请时间戳"
      }
    },
    "required": [
      "uid",
      "nick",
      "source",
      "msg",
      "reqTime"
    ]
  }
}

Examples

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

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