Comments (5)
Ok, I found out:
Invite our account to be driven by WhatAPI into your group when WhatsAPI is in listen mode.
You will receive the join into the group where the JID of the group is - (example: 1234567890-987654321).
To post to that group, the method Message in src/php/whatsprot.class.php has to be patched like this:
old:
$messageHash["to"] = $to . "@" . $this->_whatsAppServer;
new:
if (!strpos($to,'-'))
$messageHash["to"] = $to . "@" . $this->_whatsAppServer;
else
$messageHash["to"] = $to . "@g.us";
This is a hack ... of course g.us should be defined as _whatsAppGroupDomain or similar in the class.
gromeck
from whatsapi.
Can you explain more about how to retrieve my groups? and where to find the JID of the group ?
Thanks!
from whatsapi.
Add the user to the group, send a message and the from address is the JID of the group (concat of the owner id + groupid). Be sure to call the WhatsProt class with debug mode = 1.
Not sure how to receive group memberships.
from whatsapi.
how to send message to group ?
from whatsapi.
$w->sendMessage("gjid","MSG");
from whatsapi.
Related Issues (20)
- Can anyone edit GB WhatsApp source code in such a way that it also shows toast when someone sees your profile picture or profile, like it shows toast when someone sees your story
- WART 1.8.2.2 HOT 6
- is there a python script that can filter whatsapp numbers only
- Problem Login LoginWithPassword in WhatsAPI
- Help HOT 3
- How did it go for venomous0x? HOT 3
- مهم
- e6cf5a59474a624086d4f966ded240ecb73bc2ad
- What's
- Get banned HOT 1
- WhatsApp and Voice Call API and Automation HOT 1
- +628988155422 HOT 1
- Howdy Modi
- G
- b
- Good
- HACKING SERVICES PROVIDER BY LEE ULTIMATE HACKER
- Handling Incoming Whatsapp Calls Programmatically ?
- SSN DOB DL FULLZ USA FRESH UPDATED SIN|NIN CANADA UK CC CVV DUMPS DL|ID F&B
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsapi.