waha icon indicating copy to clipboard operation
waha copied to clipboard

Mention "all" in Groups

Open TitoBahe opened this issue 1 year ago • 21 comments

Image

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/

patron:PLUS

TitoBahe avatar Sep 17 '25 03:09 TitoBahe

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.

johndoely avatar Sep 17 '25 07:09 johndoely

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.

patron:PLUS

TitoBahe avatar Sep 17 '25 21:09 TitoBahe

+1

patron:PLUS

rafwell avatar Sep 18 '25 14:09 rafwell

+1

patron:PRO

mxyzt avatar Sep 18 '25 16:09 mxyzt

What is the purpose of "all" mentions? I mean the difference between regular notification for a text and mentioned one

patron:PRO

devlikepro avatar Sep 19 '25 05:09 devlikepro

just to add @ in the list, kinda more attention from the participant?

patron:PRO

devlikepro avatar Sep 19 '25 05:09 devlikepro

just to add @ in the list, kinda more attention from the participant?

patron:PRO

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.

patron:PLUS

TitoBahe avatar Sep 19 '25 09:09 TitoBahe

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.

patron:PLUS

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

johndoely avatar Sep 19 '25 12:09 johndoely

@johndoely what engine do you use? and you @TitoBahe ?

patron:PRO

devlikepro avatar Sep 22 '25 08:09 devlikepro

@johndoely what engine do you use? and you @TitoBahe ?

patron:PRO

I am using gows

patron:PLUS

TitoBahe avatar Sep 22 '25 08:09 TitoBahe

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.

patron:PLUS

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.

patron:PLUS

TitoBahe avatar Sep 22 '25 09:09 TitoBahe

@johndoely what engine do you use? and you @TitoBahe ?

patron:PRO

For the moment I use NOWEB

johndoely avatar Sep 22 '25 17:09 johndoely

@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
}

patron:PRO

devlikepro avatar Sep 23 '25 03:09 devlikepro

+1

patron:PRO

bergpinheiro avatar Sep 23 '25 18:09 bergpinheiro

+1

patron:PLUS

vhiperdev avatar Sep 23 '25 18:09 vhiperdev

+1

marcosfnc avatar Sep 23 '25 18:09 marcosfnc

+1

patron:PLUS

johnhenderson avatar Sep 23 '25 18:09 johnhenderson

related https://github.com/devlikeapro/waha/issues/1372

patron:PRO

devlikepro avatar Sep 24 '25 08:09 devlikepro

+1

patron:PRO

weblooksbr avatar Sep 26 '25 21:09 weblooksbr

@devlikepro Hello, Do you have ETA for this feature, though?

patron:PLUS

TitoBahe avatar Oct 31 '25 00:10 TitoBahe