whatsapp-multi-devicewhatsapp-apiwhatsapprestgolanggogolang-whatsapp-apigolang-whatsappbotwhatsapp-web-multi-devicewhatsapp-api-gorest-api
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5.1 KiB
5.1 KiB
Go Whatsapp API Multi Device Version
Required
- Mac OS:
brew install vipsexport CGO_CFLAGS_ALLOW="-Xpreprocessor"
- Linux:
sudo apt updatesudo apt install libvips-dev
- Windows:
How to use
- Clone this repo
git clone https://github.com/aldinokemal/go-whatsapp-web-multi-device - run
go run main.go - open
http://localhost:3000
You can fork or edit this source code !
Current API
| Feature | Menu | Method | URL | Payload | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ✅ | Login | GET | /app/login | |||||||||||||||||||||
| ✅ | Logout | GET | /app/logout | |||||||||||||||||||||
| ✅ | Reconnect | GET | /app/reconnect | |||||||||||||||||||||
| ✅ | User Info | GET | /user/info |
|
||||||||||||||||||||
| ✅ | User Avatar | GET | /user/avatar |
|
||||||||||||||||||||
| ✅ | Send Message (Text) | POST | /send/message |
|
||||||||||||||||||||
| ✅ | Send Message (Image) | POST | /send/image |
|
✅ = Available
❌ = Not Available Yet
Mac OS NOTE
Please do this if you have an error (invalid flag in pkg-config --cflags:
-Xpreprocessor) export CGO_CFLAGS_ALLOW="-Xpreprocessor"