Repository navigation
Conversation
yyyytawa
requested changes
Nov 7, 2026
| 机器人必须仍在目标群中,且群未解散;查询本身不要求机器人具有群管理权限。`permissions` 表示当前机器人在该群获得的权限,0 为未授权,1 为已授权,实际写操作仍会执行各自的权限及业务校验。停用或封禁状态不影响此只读查询。 | ||
|
|
||
| ```http | ||
| GET /open-apis/v1/group/info?token={机器人token}&groupId={群ID} |
Collaborator
There was a problem hiding this comment.
/v1/group 路由不要放到 /v1/bot 下面
| 群主或管理员须在群内机器人权限设置中开启“允许获取群成员列表”,默认关闭;仅有禁言、踢人等其他权限不能读取成员列表。开启授权后,机器人可以读取完整成员名单,包括开启“隐藏群成员”的群;关闭授权后后续请求会被拒绝,机器人退出后重新加入需要重新授权。机器人必须仍在目标群中且群未解散。仅返回仍在群中的未删除用户,按成员等级及群成员记录 ID 倒序,`list` 与 `total` 使用相同的成员过滤条件。接口沿用现有开放接口限流,触发时返回 1007。不返回手机号、邮箱、密码或其他个人资料。 | ||
|
|
||
| ```http | ||
| GET /open-apis/v1/group/members?token={机器人token}&groupId={群ID}&page={页码,默认1,范围1–1000000}&size={每页数量,默认20,范围1–100} |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 关联的 Issue
Closes #
📝 更改类型
📖 更改描述
🧪 测试与验证说明
🏁 自查清单