[Feature] 个人微信适配器是否支持微信群聊?
Feature Description
环境信息
AstrBot 版本:v4.29.4
部署方式:Docker
平台适配器:个人微信(weixin_oc)
接入方式:微信扫码登录,基于官方 openclaw-weixin 接口
问题与疑问
目前个人微信适配器已经可以正常登录,且在 ClawBot 私聊会话中能够正常收发消息,/sid 指令和普通对话均能正常响应。
但我希望实现类似 QQ 机器人适配器的群聊能力:让机器人能够接收微信群内其他成员发送的消息,并在群聊中进行回复。
目前测试中,微信群聊消息没有得到响应。
初步排查
查看当前 weixin_oc_adapter.py 的消息处理逻辑,发现:
abm.type = MessageType.FRIEND_MESSAGE abm.session_id = from_user_id abm.sender = MessageMember( user_id=from_user_id, nickname=from_user_id )
当前消息处理逻辑似乎统一将入站消息转换为好友私聊事件。
在 weixin_oc 适配器源码中,也暂未找到明显的群聊事件、群 ID 或群成员 ID 处理逻辑。
希望维护者确认
当前基于官方 openclaw-weixin 接口的个人微信适配器,是否支持接收微信群聊消息?
如果官方接口支持,AstrBot 当前版本是否尚未实现群聊消息解析和 GROUP_MESSAGE 事件转换?
如果目前不支持,未来是否有计划支持微信群聊?
是否存在特殊配置或使用方式,可以让个人微信机器人加入微信群并正常响应群消息?
希望能够明确这是微信接口能力限制,还是 AstrBot 适配器尚未实现的功能。
谢谢!
Use Case
No response
Checklist
- [x] I have searched the Issue list for related features and confirmed this feature idea has never been proposed.
- [x] The feature I am suggesting is related to AstrBot itself, not to a specific plugin.
- [x] I have read and agree to the project's Code of Conduct.
- [x] (Optional) I am willing to submit a PR to help implement this feature.
这是腾讯公司微信团队的软件,你去叫张小龙给你加上
您好,目前微信的 weixin_oc 没有开放群聊接口。