SnowLuma
API 参考群管理

禁言群成员(duration=0 解除)

POST
/set_group_ban

授权

授权Bearer <token>

Authorization: Bearer <access_token>

位置: header

请求主体

application/json

TypeScript 定义

在 TypeScript 中使用 request body 类型。

响应主体

application/json

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

这篇文档有帮助吗?