2022-01-30 15:27:37 -08:00
|
|
|
# whatsmeow
|
2022-03-12 14:02:04 -08:00
|
|
|
[![Go Reference](https://pkg.go.dev/badge/go.mau.fi/whatsmeow.svg)](https://pkg.go.dev/go.mau.fi/whatsmeow)
|
2022-01-30 15:27:37 -08:00
|
|
|
|
|
|
|
whatsmeow is a Go library for the WhatsApp web multidevice API.
|
|
|
|
|
|
|
|
## Discussion
|
|
|
|
Matrix room: [#whatsmeow:maunium.net](https://matrix.to/#/#whatsmeow:maunium.net)
|
|
|
|
|
2022-06-11 14:07:42 -07:00
|
|
|
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.
|
|
|
|
|
|
|
|
[WhatsApp protocol Q&A]: https://github.com/tulir/whatsmeow/discussions/categories/whatsapp-protocol-q-a
|
|
|
|
|
2022-01-30 15:27:37 -08:00
|
|
|
## Usage
|
2022-03-12 14:02:04 -08:00
|
|
|
The [godoc](https://pkg.go.dev/go.mau.fi/whatsmeow) includes docs for all methods and event types.
|
2024-08-27 10:04:05 -07:00
|
|
|
There's also a [simple example](https://pkg.go.dev/go.mau.fi/whatsmeow#example-package) at the top.
|
2022-01-30 15:27:37 -08:00
|
|
|
|
|
|
|
## 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
|
2023-08-05 11:43:19 -07:00
|
|
|
* Reading and writing app state (contact list, chat pin/mute status, etc)
|
2022-01-30 15:27:37 -08:00
|
|
|
* Sending and handling retry receipts if message decryption fails
|
2022-06-11 14:07:42 -07:00
|
|
|
* Sending status messages (experimental, may not work for large contact lists)
|
2022-01-30 15:27:37 -08:00
|
|
|
|
|
|
|
Things that are not yet implemented:
|
|
|
|
|
2022-06-11 14:07:42 -07:00
|
|
|
* Sending broadcast list messages (this is not supported on WhatsApp web either)
|
2022-01-30 15:27:37 -08:00
|
|
|
* Calls
|