5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-22 12:50:27 +00:00
matterbridge/vendor/go.mau.fi/whatsmeow
2022-03-20 14:57:48 +01:00
..
appstate Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
binary Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
socket Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
store Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
types Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
util Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
appstate.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
call.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
client.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
connectionevents.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
download.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
errors.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
group.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
handshake.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
keepalive.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
LICENSE Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
mediaconn.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
message.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
notification.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
pair.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
prekeys.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
presence.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
privacysettings.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
qrchan.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
README.md Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
receipt.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
request.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
retry.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
send.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
upload.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
user.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00

whatsmeow

godocs.io

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

This was initially forked from go-whatsapp (MIT license), but large parts of the code have been rewritten for multidevice support. Parts of the code are ported from WhatsappWeb4j and Baileys (also MIT license).

Discussion

Matrix room: #whatsmeow:maunium.net

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

Things that are not yet implemented:

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