wolfsocket
v1.0.0
Published
WOLF TECH fork of Baileys with native Group Status (groupStatusMessageV2) support for text, image, video, audio, and sticker posts.
Downloads
196
Maintainers
Readme
wolfsocket
A Baileys fork maintained under WOLF TECH, adding native Group Status support — posting text, image, video, audio, and sticker updates that are visible only within a specific WhatsApp group (distinct from the regular status@broadcast story that goes to your whole contact list).
This is a fork, not a replacement. Everything in upstream Baileys works exactly the same —
wolfsocketadds one new socket method on top:sock.sendGroupStatus().
Install
npm install wolfsocketQuick start
Usage is identical to upstream Baileys — same makeWASocket, same auth flow, same sendMessage. The only addition is sock.sendGroupStatus():
import makeWASocket, { useMultiFileAuthState } from 'wolfsocket'
const { state, saveCreds } = await useMultiFileAuthState('auth_info')
const sock = makeWASocket({ auth: state })
sock.ev.on('creds.update', saveCreds)
// text group status
await sock.sendGroupStatus(groupJid, { text: 'hello from the group status feature' })
// image group status
await sock.sendGroupStatus(groupJid, { image: imageBuffer, caption: 'caption text' })
// video group status
await sock.sendGroupStatus(groupJid, { video: videoBuffer, caption: 'caption', gifPlayback: false })
// audio group status
await sock.sendGroupStatus(groupJid, { audio: audioBuffer, mimetype: 'audio/ogg; codecs=opus', ptt: true })
// sticker group status
await sock.sendGroupStatus(groupJid, { sticker: stickerBuffer })groupJid is a normal group JID (ends in @g.us) — the same one you'd pass to sock.sendMessage().
API
sock.sendGroupStatus(jid, content)
| param | type | description |
|-----------|-------------------------------------------------------------------|-------------------------------------------------|
| jid | string | group JID ([email protected]) |
| content | AnyMessageContent | same content shape accepted by sock.sendMessage |
Returns a Promise<WAMessage> with the sent message's key.
What's different from upstream Baileys
- Adds
src/Socket/groupStatus.ts, wired intosock.sendGroupStatus(). - Fixes a
mediatypestanza-detection gap inrelayMessagethat caused media (image/video/etc.) group-status posts to silently fail to render correctly, while text posts worked fine. SeeCHANGES.mdfor details. - No other behavior changes — everything else is stock Baileys.
License
MIT — see LICENSE. This package is a modified fork of Baileys by Rajeh Taher / WhiskeySockets, used under its original MIT license. The original copyright notice is preserved in full; modifications and additions (including Group Status support) by Briton Kiplangat (Silent Wolf) / WOLF TECH are licensed under the same terms.
