WhatsApp SDK
The WhatsApp SDK is a powerful and flexible library that allows you to integrate WhatsApp messaging capabilities into your applications. Built on top of whatsapp-web.js, it provides a clean, type-safe API for interacting with WhatsApp Web.Key Features
REST API
Built-in NestJS API for easy integration with web applications
TypeScript Support
Fully typed API with TypeScript for better developer experience
Authentication
Flexible authentication strategies including QR code and session management
Messaging
Rich messaging capabilities including text, media, and interactive messages
Event System
Comprehensive event system for real-time message notifications
Extensible
Modular architecture that makes it easy to extend with custom functionality
Architecture
The WhatsApp SDK follows a layered architecture that provides clear separation of concerns:- Core Layer - Contains the adapter and types that interface directly with whatsapp-web.js
- SDK Layer - Provides services and implementations that build on the core layer
- Client Layer - Offers a public API for application developers
- REST API Layer - Exposes the client functionality through a REST API using NestJS