Mention "all" in Groups
https://github.com/user-attachments/assets/cfbbc66e-7b4b-4818-a4d4-6a732f6537d0
I currently work with people in digital marketing. Some of them are mentioning the entire group invisibily also using non official whatsapp APIs. The image above was took from a reddit user after being mentioned without any visible @mention on the text message. Could you guys add this function?
See more here in this reddit post:
https://www.reddit.com/r/whatsapp/comments/1l7b1t5/invisible_mentions_whats_going_on/
Doc says you must mention number, but I do like this and it works:
{
"session": "default",
"chatId": "[email protected]",
"text": "Hi all!",
"mentions": [
"[email protected]","[email protected]","[email protected]","[email protected]"
]
}
Firstly you need to retrieve all participants and store it, so you can add them in the request... I don't recommend downloading participants so often to avoid bans, so you could retrieve them every hour and store it to use it on your messages.
Doc says you must mention number, but I do like this and it works:
{ "session": "default", "chatId": "[email protected]", "text": "Hi all!", "mentions": [ "[email protected]","[email protected]","[email protected]","[email protected]" ] }Firstly you need to retrieve all participants and store it, so you can add them in the request... I don't recommend downloading participants so often to avoid bans, so you could retrieve them every hour and store it to use it on your messages.
But these mentions still appear in the whatsapp message as @mentions, no? The idea is hiding the @mentions somehow in the final whatsapp message.
What is the purpose of "all" mentions? I mean the difference between regular notification for a text and mentioned one
just to add
@in the list, kinda more attention from the participant?
Yes, people in digital marketing use all kinds of features to grab leads' attention. When writing, normally, a msg mentioning someone, you have to tag that person in the text message. A problem appears when you have a group of 500, 700 people...
You have to grab peoples attention without overloading the msg you send. Mentioning normally implies adding hundreds of tags (@contact_name) inside the text body.
It can make the text so huge and gross that nobody will even see your post, nor consider it since it's clearly an automated msg.
The main idea is to be catchy and clean.
Doc says you must mention number, but I do like this and it works:
{ "session": "default", "chatId": "[email protected]", "text": "Hi all!", "mentions": [ "[email protected]","[email protected]","[email protected]","[email protected]" ] }Firstly you need to retrieve all participants and store it, so you can add them in the request... I don't recommend downloading participants so often to avoid bans, so you could retrieve them every hour and store it to use it on your messages.
But these mentions still appear in the whatsapp message as @mentions, no? The idea is hiding the @mentions somehow in the final whatsapp message.
No, you can try it and you will see that only the content inside param "text" will be displayed in the messas, all numbers you write inside "mentions" parameter will be invisible and you will accomplish what you want, people will be tagged @ invisibly. It is working fine for me on v2025.7.4 and v2025.8.2
Doc says you must mention number, but I do like this and it works:
{ "session": "default", "chatId": "[email protected]", "text": "Hi all!", "mentions": [ "[email protected]","[email protected]","[email protected]","[email protected]" ] }Firstly you need to retrieve all participants and store it, so you can add them in the request... I don't recommend downloading participants so often to avoid bans, so you could retrieve them every hour and store it to use it on your messages.
But these mentions still appear in the whatsapp message as @mentions, no? The idea is hiding the @mentions somehow in the final whatsapp message.
No, you can try it and you will see that only the content inside param "text" will be displayed in the messas, all numbers you write inside "mentions" parameter will be invisible and you will accomplish what you want, people will be tagged @ invisibly. It is working fine for me on v2025.7.4 and v2025.8.2
🤔 That's nice to hear. I will test in those versions, thanks! But it's still a nice thing to add explicitly in WAHA, though.
@TitoBahe when you have a chance, could you test the solution in gows and noweb? If the solution works in noweb, but doesn't in gows - let us know, we'll check this!
Yeah, we could have a single mention: all flag, so it'd fetch the group participants and do the same as in the @johndoely solution 👍
{
"session": "default",
"chatId": "[email protected]",
"text": "Hi all!",
"mention": "all" // groups only
}
+1