JSON 请求体的 participants 指定待移除用户数组,返回移除数量。账号需具备群组或频道的相应管理权限。调用会影响用户访问,请确认目标。
API 功能
批量移除 一次指定多个成员
移除数量反馈 核对实际处理的成员数量
兼容群组与频道 依管理权限执行成员变更
在线 API 演示
未找到可用的 API Key,请前往控制台创建后刷新本页。 控制台 →
DELETE
/api/project/telegram-messaging/remove-participants API 响应 (JSON)
{} curl -X DELETE 'https://api.opendata-api.com/api/project/telegram-messaging/remove-participants?key=<API_KEY>&sessionId=<sessionId>&peer=<peer>' \
-H 'Content-Type: application/json' \
-d '{"body":"{\"participants\":[\"@alice\"]}"}'
curl -X DELETE 'https://api.opendata-api.com/api/project/telegram-messaging/remove-participants?key=<API_KEY>&sessionId=<sessionId>&peer=<peer>' \
-H 'Content-Type: application/json' \
-d '{"body":"{\"participants\":[\"@alice\"]}"}' 查询结果
需要帮助?
如遇接口异常,或需要其他接口需求,可联系我们
使用场景
- 按社区规则移除违规成员
- 移除已结束服务的群组成员
- 在授权订阅结束后执行离组流程