Skip to content

好友、群与申请

字数
160 字
阅读时间
1 分钟
方法路径Query说明
GET/friend-requestsself_id?待处理好友申请
GET/friend-listself_id?好友列表
GET/group-listself_id?群列表
GET/request-overviewself_id?申请概览(好友+群)
POST/request-actions单条同意/拒绝
POST/request-actions/batch批量处理

写操作 Body 含 self_idflagapprove 等字段(与 OneBot v11 申请 API 对齐);需写 token。

数据来自在线 OneBot v11 Bot 调用 + 本地 pending 缓存(request_handler 落盘)。

前端对应

  • FriendsGroupsPagefetchFriendListfetchGroupListfetchRequestOverviewpostRequestActions

实现:extended_api.py 内 OneBot 代理与 pending 读写。

用户向说明:request_handler 插件