Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Wangzehong111 opened this issue May 20, 2023 · 0 comments
Open

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

Wangzehong111 opened this issue May 20, 2023 · 0 comments

Comments

@Wangzehong111
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant