asternic / wuzapi

Simple RESTful API for WhatsApp in Golang (using the Whatsmeow multi device library)
MIT License
105 stars 58 forks source link

Send message to group #26

Open welcometopwn opened 9 months ago

welcometopwn commented 9 months ago

I'm trying to send a message to a group, but it seems that the group uses some old jid format because with a freshly created group it's working.

Format of the jid is: 33**-185828942@g.us

The error I get: WRN: Bad jid format

juancgarza commented 5 months ago

Just curious, what endpoint are you using?

funukonta commented 2 months ago

i got the same error, the enpoint i used is /chat/send/text it requires Phone which i fill it with JID i got from /group/list