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

@所有人。和@机器人。这个可以区分出来么 #2025

Closed
zhihuifanqiechaodan opened this issue Jul 25, 2020 · 6 comments
Closed

@所有人。和@机器人。这个可以区分出来么 #2025

zhihuifanqiechaodan opened this issue Jul 25, 2020 · 6 comments

Comments

@zhihuifanqiechaodan
Copy link

目前我在@所有人的时候。会触发@机器人的一些 操作。 想把这个区分出来,

@post707
Copy link

post707 commented Nov 28, 2022

@zhihuifanqiechaodan 请教一下,代码里如何@所有人

@zhihuifanqiechaodan
Copy link
Author

@zhihuifanqiechaodan 请教一下,代码里如何@所有人

遍历获取群成员列表放到数组中然后发送...

@post707
Copy link

post707 commented Nov 29, 2022

@zhihuifanqiechaodan 请教一下,代码里如何@所有人

遍历获取群成员列表放到数组中然后发送...

那是@1 @2 @3 这样@群里所有人一遍吗?能不能跟原生的一样@所有人 这样

@zhihuifanqiechaodan
Copy link
Author

@zhihuifanqiechaodan 请教一下,代码里如何@所有人

遍历获取群成员列表放到数组中然后发送...

那是@1 @2 @3 这样@群里所有人一遍吗?能不能跟原生的一样@所有人 这样

目前依旧没提供这功能。

@SeasideLee
Copy link

微信里 @所有人 的时候,message.payload.mentionIdList 会是 [ 'notify@all' ]

Copy link

dosubot bot commented Nov 19, 2023

Hi, @zhihuifanqiechaodan! I'm Dosu, and I'm here to help the wechaty team manage their backlog. I wanted to let you know that we are marking this issue as stale.

From what I understand, you were requesting a way to differentiate between mentioning all users and mentioning a specific bot. There has been some discussion in the comments about how to achieve this. Post707 suggested using @1 @2 @3 to mention all users except the bot, and SeasideLee mentioned that in WeChat, message.payload.mentionIdList is ['notify@all'].

It seems that the issue has been resolved by using the suggestion from post707 to mention all users except the bot by using @1 @2 @3. Additionally, SeasideLee mentioned that in WeChat, message.payload.mentionIdList is ['notify@all'].

Before we close this issue, could you please confirm if this issue is still relevant to the latest version of the wechaty repository? If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself or it will be automatically closed in 7 days.

Thank you for your contribution and please let us know if you have any further questions or concerns!

@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Nov 19, 2023
@dosubot dosubot bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 26, 2023
@dosubot dosubot bot removed the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants