SnowLuma
Group admin

设置 / 取消管理员 · set_group_admin

`enable=true` 设为管理员,`false` 取消。需群主。

POST
/set_group_admin

enable=true 设为管理员,false 取消。需群主。

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/set_group_admin" \  -H "Content-Type: application/json" \  -d '{    "group_id": 0,    "user_id": 0  }'
{
  "status": "ok",
  "retcode": 0,
  "data": null,
  "wording": "string",
  "echo": null
}