whatsmeow: Go library for WhatsApp web multidevice API
Go client library for WhatsApp web multidevice protocol.
Learn more about whatsmeow
whatsmeow is a Go library that provides client-side access to WhatsApp's web multidevice API. It implements the WhatsApp protocol in Go, handling message encryption, decryption, and the underlying communication mechanisms required to interact with WhatsApp servers. The library supports core messaging features including text and media messages, group management, typing notifications, and delivery receipts. It is typically used in applications that need to integrate WhatsApp messaging capabilities without relying on the official WhatsApp client.
Single Binary Deployment
Compiles to a standalone Go binary with zero external dependencies or runtime requirements. Integrates directly into Go applications without separate services, containers, or language bridges.
Multidevice Protocol Support
Implements WhatsApp's modern multidevice API instead of the legacy web protocol. Enables concurrent sessions across devices with proper state synchronization and session management.
Complete Message Handling
Supports all core message types including text, media, and reactions with built-in encryption. Handles protocol-level features like retry receipts, app state sync, and group operations without manual implementation.
package main
import (
"go.mau.fi/whatsmeow"
"go.mau.fi/whatsmeow/store/sqlstore"
)
func main() {
container, _ := sqlstore.New("sqlite3", "file:whatsapp.db?_foreign_keys=on", nil)
device, _ := container.GetFirstDevice()
client := whatsmeow.NewClient(device, nil)
client.Connect()
}Top in Backend & APIs
Related Repositories
Discover similar tools and frameworks used by developers
gin
Fast HTTP router with JSON binding and middleware support.
dompdf
CSS 2.1 compliant HTML layout and rendering engine.
express
Middleware-based HTTP routing and response handling for Node.js.
axios
Promise-based HTTP client with unified browser and Node.js interface.
graphiql
Browser-based GraphQL IDE with language service tooling.