heyoo icon indicating copy to clipboard operation
heyoo copied to clipboard

Can messages send to groups?

Open richi1993 opened this issue 2 years ago • 4 comments

Is it possible to send messages to a group via the api? Instead of using the recipient_id using the group_id?

richi1993 avatar Jan 23 '23 17:01 richi1993

From What I know WhatsApp Cloud API only supports mobile numbers for now

Kalebu avatar Jan 24 '23 21:01 Kalebu

I'm looking for this too. I haven't tried it, but pywhatkit appears to got it working. https://towardsdatascience.com/automate-whatsapp-messages-with-python-in-3-steps-d64cf0de4539

Would be great if it would be possible with Heyoo too.

EljaTrum avatar Feb 11 '23 23:02 EljaTrum

Hi @EljaTrum

You have to know Heyoo and Pywhatkit serves an entirely different purpose and differ in their architecture

Pywhatkit sends messages and images by automating the browser and not through the official WhatsApp Cloud API while Heyoo is made to simplify the python integration with the WhatsApp Cloud API therefore it only supports what is officially supported by the APIs and currently Sending messages to group is not officially supported by the API

Kalebu avatar Feb 12 '23 12:02 Kalebu

Sending to a group works against a set time, but im trying to send instantly example

pywhatkit.sendwhatmsg_to_group_instantly("ID123456789XX", "test here")

Gives no error but also does not work

CecilRoffey avatar Jun 15 '23 05:06 CecilRoffey