https://github.com/schwartzblat/enterfullgroupwhatsapp
https://github.com/schwartzblat/enterfullgroupwhatsapp
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/schwartzblat/enterfullgroupwhatsapp
- Owner: Schwartzblat
- Created: 2022-04-07T23:10:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-07T19:05:35.000Z (9 months ago)
- Last Synced: 2025-02-11T08:48:10.276Z (4 months ago)
- Size: 3.91 KB
- Stars: 16
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EnterFullGroupWhatsapp
Paste this Code at Whatsapp-Web's console and put the invite code as the start function's arguement:
```js
const getInfo = require('WAWebGroupQueryBridge').sendQueryGroupInvite;
const joinGroup = require("WAWebGroupInviteJob").joinGroupViaInvite;
let start = async (link) => {
const code = new URL(link).pathname.slice(1);
let info = await getInfo(code)
while (info.size > 1024) {
await new Promise((resolve) => setTimeout(resolve, 10000));
console.log(`Current participants: ${info.size}`);
info = await getInfo(code);
}
await joinGroup(code, false);
console.log('Joined!');
}
await start("Invite link HERE");
```
press Enter and let it run.
You will join the group when someone will leave.