MCPcopy Index your code
hub / github.com/tulir/whatsmeow

github.com/tulir/whatsmeow @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
13,861 symbols 19,787 edges 158 files 1,779 documented · 13% 17 cross-repo links updated 2d ago★ 6,68723 open issues

Browse by type

Functions 12,025 Types & classes 1,836
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

whatsmeow

Go Reference

whatsmeow is a Go library for the WhatsApp web multidevice API.

Discussion

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.

Usage

The godoc includes docs for all methods and event types. There's also a simple example at the top.

Features

Most core features are already present:

  • Sending messages to private chats and groups (both text and media)
  • Receiving all messages
  • Managing groups and receiving group change events
  • Joining via invite messages, using and creating invite links
  • Sending and receiving typing notifications
  • Sending and receiving delivery and read receipts
  • Reading and writing app state (contact list, chat pin/mute status, etc)
  • Sending and handling retry receipts if message decryption fails
  • Sending status messages (experimental, may not work for large contact lists)

Things that are not yet implemented:

  • Sending broadcast list messages (this is not supported on WhatsApp web either)
  • Calls

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 11,694
Struct 1,430
Function 331
TypeAlias 314
Interface 86
FuncType 6

Languages

Go100%

Modules by API surface

proto/waE2E/WAWebProtobufsE2E.pb.go3,336 symbols
proto/waSyncAction/WAWebProtobufSyncAction.pb.go1,130 symbols
proto/waAICommon/WAWebProtobufsAICommon.pb.go987 symbols
proto/waBotMetadata/WABotMetadata.pb.go632 symbols
proto/waArmadilloMiTransportAdminMessage/WAArmadilloMiTransportAdminMessage.pb.go562 symbols
proto/waWeb/WAWebProtobufsWeb.pb.go476 symbols
proto/waArmadilloApplication/WAArmadilloApplication.pb.go451 symbols
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go391 symbols
proto/waConsumerApplication/WAConsumerApplication.pb.go391 symbols
proto/waHistorySync/WAWebProtobufsHistorySync.pb.go318 symbols
proto/waWa6/WAWebProtobufsWa6.pb.go292 symbols
proto/waMediaTransport/WAMediaTransport.pb.go279 symbols

Dependencies from manifests, versioned

filippo.io/edwards25519v1.2.0 · 1×
github.com/beeper/argo-gov1.1.2 · 1×
github.com/petermattis/goidv0.0.0-2026033013502 · 1×
github.com/rs/zerologv1.35.1 · 1×
go.mau.fi/libsignalv0.2.2 · 1×
go.mau.fi/utilv0.9.10 · 1×

For agents

$ claude mcp add whatsmeow \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page