wechaty/python-wechaty

[Bug]: Concact的say方法mention_ids无效的解决方案

Wangzehong111 opened this issue · 0 comments

Environment

- wechaty:
- wechaty-puppet: 
- wechaty-puppet-service: 
- wechaty-plugin-contrib: 
- token type: padlocal|wxwork|xp
- the version of wechaty docker container: [0.65]

Description

Message.say()传入mention_ids后并不生效,一样遇到这个问题的朋友可以看一下解决方案

Minimum reproducible code

contact = message.talker()
        room = message.room()
        await room.say('?', mention_ids=[contact.contact_id])

这是OK的

await message.say('?', mention_ids=[message.contact_id])

这个就不生效,message都是来自群聊,say方法也都能直接往群里发送消息,唯一区别就是第一段的能够成功mention