@vanzxy/baileys
TypeScript icon, indicating that this package has built-in type declarations

1.2.5 • Public • Published

🌿 @vanzxy/baileys

Enhanced Baileys fork by Vanzxy🍃 (VanzxyPrst🍃) — built on top of @itsliaaa/baileys with extended native flow button support, system-notification filtering, and other fixes for WhatsApp bot development.

✨ What's Different

🔧 Fixes & Additions by Vanzxy🍃

  • Audio Group Status — Audio in groupStatus: true now uses groupStatusMessage (v1) instead of groupStatusMessageV2. This fixes the black screen / "versi WhatsApp tidak mendukung" error on older WA versions when bots broadcast audio via swgc.
  • No "Lihat Saluran" Button — Removed mediaAnnotation that auto-injected newsletter context into every image/video upload, causing an unwanted "Lihat saluran" button to appear on all media messages.
  • Extended Native Flow Buttons — Added support for cta_reminder, cta_cancel_reminder, address_message, send_location, catalog_message, mpm, otp_button, authentication_button, call_button, url_button, reply_button, card_message, order_details, order_status, review_and_pay, payment_status, payment_method, track_order, reorder, cancel_order, clear_chat, navigateToScreen, flow_action, voice_call, video_call_button — fully additive, existing button types untouched.
  • System Notification Filtering — Messages now carry an isSystemNotification flag (e.g. for E2E encryption notices, "business uses Meta service" notices) so bots can easily skip them without affecting normal message handling.

✅ Inherited from @itsliaaa/baileys

  • Interactive messages (buttons, list, native flow, carousel)
  • Album message (multi image/video)
  • Group Status message (groupStatus: true)
  • mentionAll without listing JIDs
  • makeInMemoryStore ESM port
  • Rich response, code blocks, tables, inline entities
  • Sticker pack, lottie sticker, spoiler, view once v2
  • Newsletter fixes, externalAdReply helper
  • findUserId for JID/LID lookup
  • tokenizeCode for syntax highlighting

✅ Inherited from @whiskeysockets/baileys

  • LID/PN session management & mapping
  • Reachout timelock handling
  • New chat message cap
  • validateSession checks
  • fetchNewChatMessageCap, fetchAccountReachoutTimelock

📥 Installation

# Via npm
npm i @vanzxy/baileys

# Via GitHub
npm i github:vanzxy/baileys

🧩 Import

// ESM
import { makeWASocket } from '@vanzxy/baileys'

📦 Fork Base

📣 Credits

Full credit to original maintainers:

Fixes & fork by Vanzxy🍃 (VanzxyPrst🍃)github.com/vanzxy