Go library for the WhatsApp web multidevice API
whatsmeow is a Go library for the WhatsApp web multidevice API.
Matrix room: #whatsmeow:maunium.net
For questions about the WhatsApp protocol (like how to send a specific type of message), you can also use the WhatsApp protocol Q&A section on GitHub discussions.
The godoc includes docs for all methods and event types. There's also a simple example at the top.
Most core features are already present:
Things that are not yet implemented:
Status broadcast read receipts are dispatched as delivery receipts
whatsmeow_privacy_tokens table missing foreign key constraint - orphan data on device deletion
Stuck all the incoming messages when triggering PutManyLIDMappings
Status broadcasts block the handler queue for ~75s each; opt-in skip?
Send message to large groups take long time than baileys
qrchan: RotateADVSecret handler falls through and closes QR channel with empty event
PDO placeholder-resend request for own outgoing media never answered when sent via iOS Share Extension
[Bug] Text-only messages not delivered to primary device until a message with media is sent
SetGroupAnnounce and SetGroupMemberAddMode return 400 on community JIDs
Passive linked companion leaves the primary phone's calls stuck at "Connecting…" for some accounts (unlink instantly fixes it)