Baileys
Socket-based TS/JavaScript API for WhatsApp Web
Baileys is a TypeScript and JavaScript library for interacting directly with the WhatsApp Web protocol over WebSockets. It does not require Selenium, Chromium, or another browser process to maintain a WhatsApp session. Accounts can be linked through WhatsApp’s multi-device system using QR codes or pairing codes. The library exposes events and socket APIs for messages, chats, contacts, groups, presence, media, and other WhatsApp Web behaviors. Its architecture is widely used as a foundation...