get_group_at_all_remain

get_group_at_all_remain只读扩展
获取群 @全体成员 剩余次数

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

Parameters

Param Type Required Default Description
group_id uint 群号

Returns (data)

{ can_at_all, remain_at_all_count_for_group, remain_at_all_count_for_uin }:@全体可用性与剩余次数。

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

Field Type Required Description
can_at_all boolean 当前是否可 @全体成员
remain_at_all_count_for_group integer 本群今日剩余 @全体次数
remain_at_all_count_for_uin integer 本账号今日剩余 @全体次数
Raw JSON Schema
{
  "type": "object",
  "properties": {
    "can_at_all": {
      "type": "boolean",
      "description": "当前是否可 @全体成员"
    },
    "remain_at_all_count_for_group": {
      "type": "integer",
      "description": "本群今日剩余 @全体次数"
    },
    "remain_at_all_count_for_uin": {
      "type": "integer",
      "description": "本账号今日剩余 @全体次数"
    }
  },
  "required": [
    "can_at_all",
    "remain_at_all_count_for_group",
    "remain_at_all_count_for_uin"
  ]
}

Examples

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

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