5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-27 00:51:36 +00:00
matterbridge/vendor/go.mau.fi/whatsmeow
Wim fda05f2262
Update dependencies and fix whatsmeow API changes (#1887)
* Update dependencies

* Fix whatsmau API changes
2022-09-05 21:00:54 +02:00
..
appstate Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00
binary Update dependencies and fix whatsmeow API changes (#1887) 2022-09-05 21:00:54 +02:00
socket Update vendor (whatsapp) 2022-03-20 14:57:48 +01:00
store Update dependencies and fix whatsmeow API changes (#1887) 2022-09-05 21:00:54 +02:00
types Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00
util Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
appstate.go Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00
broadcast.go Update dependencies (#1841) 2022-06-11 23:07:42 +02:00
call.go Update dependencies (#1841) 2022-06-11 23:07:42 +02:00
client.go Update dependencies (#1841) 2022-06-11 23:07:42 +02:00
connectionevents.go Update dependencies (#1841) 2022-06-11 23:07:42 +02:00
download.go Update dependencies (#1841) 2022-06-11 23:07:42 +02:00
errors.go Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00
group.go Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00
handshake.go Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00
internals.go Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00
keepalive.go Update dependencies (#1841) 2022-06-11 23:07:42 +02:00
LICENSE Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
mediaconn.go Update dependencies (#1784) 2022-04-01 00:23:19 +02:00
mediaretry.go Update dependencies (#1841) 2022-06-11 23:07:42 +02:00
message.go Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00
notification.go Update dependencies (#1841) 2022-06-11 23:07:42 +02:00
pair.go Update dependencies (#1841) 2022-06-11 23:07:42 +02:00
prekeys.go Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00
presence.go Update dependencies (#1851) 2022-06-25 00:36:16 +02:00
privacysettings.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
qrchan.go Update vendor (whatsapp) 2022-03-20 14:57:48 +01:00
README.md Update dependencies (#1841) 2022-06-11 23:07:42 +02:00
receipt.go Update dependencies (#1851) 2022-06-25 00:36:16 +02:00
request.go Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00
retry.go Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00
send.go Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00
update.go Update vendor (whatsapp) 2022-03-20 14:57:48 +01:00
upload.go Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00
user.go Update dependencies and go1.18 (#1873) 2022-08-13 16:14:26 +02:00

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.

Also see mdtest for a CLI tool you can easily try out whatsmeow with.

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 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:

  • Writing app state (contact list, chat pin/mute status, etc)
  • Sending broadcast list messages (this is not supported on WhatsApp web either)
  • Calls