Merge pull request #1130 from fdc310/master

'个人微信中主动发送信息send_message的修改'
This commit is contained in:
Junyan Qin (Chin)
2025-02-26 15:54:02 +08:00
committed by GitHub

View File

@@ -245,7 +245,11 @@ class GeWeChatAdapter(adapter.MessagePlatformAdapter):
target_id: str,
message: platform_message.MessageChain
):
pass
geweap_msg = await GewechatMessageConverter.yiri2target(message)
for msg in geweap_msg:
if msg['type'] == 'text':
await self.bot.post_text(app_id=self.config['app_id'], to_wxid=target_id,content=msg['content'])
async def reply_message(
self,