fetch_emoji_like

fetch_emoji_like只读扩展
获取表情回应用户(NapCat 分页)

通过 POST http://127.0.0.1:3000/fetch_emoji_like(请求体为 JSON 参数)或 WebSocket 调用。

输入参数

参数 类型 必填 默认 说明
message_id messageId
emojiId string
count int 10
cookie string ""

返回 (data)

分页的表情回应用户列表(NapCat 形状),含分页游标 cookie 与首/末页标记。

所有响应都包裹在标准信封中:{ "status": "ok", "retcode": 0, "data": ... }。下表描述 data 字段。

字段 类型 必填 说明
result integer 结果码(恒 0)
errMsg string 错误信息(恒空串)
emojiLikesList object[] 回应用户列表
cookie string 下一页游标(末页为空串)
isLastPage boolean 是否末页
isFirstPage boolean 是否首页
原始 JSON Schema
{
  "type": "object",
  "properties": {
    "result": {
      "type": "integer",
      "description": "结果码(恒 0)"
    },
    "errMsg": {
      "type": "string",
      "description": "错误信息(恒空串)"
    },
    "emojiLikesList": {
      "type": "array",
      "description": "回应用户列表",
      "items": {
        "type": "object",
        "properties": {
          "tinyId": {
            "type": "string",
            "description": "用户 QQ 号(字符串)"
          },
          "nickName": {
            "type": "string",
            "description": "昵称(恒空串)"
          },
          "headUrl": {
            "type": "string",
            "description": "头像 URL(恒空串)"
          }
        },
        "required": [
          "tinyId",
          "nickName",
          "headUrl"
        ]
      }
    },
    "cookie": {
      "type": "string",
      "description": "下一页游标(末页为空串)"
    },
    "isLastPage": {
      "type": "boolean",
      "description": "是否末页"
    },
    "isFirstPage": {
      "type": "boolean",
      "description": "是否首页"
    }
  },
  "required": [
    "result",
    "errMsg",
    "emojiLikesList",
    "cookie",
    "isLastPage",
    "isFirstPage"
  ]
}

调用示例

curl
Python
JavaScript
Go
SnowLuma SDK
curl -X POST http://127.0.0.1:3000/fetch_emoji_like \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <access-token>' \
  -d '{"message_id":100001,"emojiId":"","count":10,"cookie":""}'
在用 AI 助手?

支持 MCP 的客户端可直接发现并调用本动作,无需手写 HTTP。见 MCP 接入