get_msg_emoji_likes

get_msg_emoji_likes只读扩展
获取一条消息的全部表情回应

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

输入参数

参数 类型 必填 默认 说明
message_id messageId

返回 (data)

该消息上每个表情回应的编号、数量与用户列表。

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

data 为数组,每个元素:

字段 类型 必填 说明
emoji_id string 表情编号
emoji_type integer 表情类型
count integer 回应数量
last_reaction_time integer 最近一次回应时间
users object[]
原始 JSON Schema
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "emoji_id": {
        "type": "string",
        "description": "表情编号"
      },
      "emoji_type": {
        "type": "integer",
        "description": "表情类型"
      },
      "count": {
        "type": "integer",
        "description": "回应数量"
      },
      "last_reaction_time": {
        "type": "integer",
        "description": "最近一次回应时间"
      },
      "users": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "user_id": {
              "type": "integer",
              "description": "用户 QQ 号"
            }
          },
          "required": [
            "user_id"
          ]
        }
      }
    },
    "required": [
      "emoji_id",
      "emoji_type",
      "count",
      "last_reaction_time",
      "users"
    ]
  }
}

调用示例

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

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