Go Whatsapp API Multi Device Version
Mac OS:
brew install vips
export CGO_CFLAGS_ALLOW="-Xpreprocessor"
Linux:
sudo apt update
sudo apt install libvips-dev
Windows (not recomended, prefer using WSL ):
Docker
build image docker build -t wa-go .
Clone this repo
run go run main.go
open http://localhost:3000
You can fork or edit this source code !
Feature
Menu
Method
URL
Payload
✅
Login
GET
/app/login
✅
Logout
GET
/app/logout
✅
Reconnect
GET
/app/reconnect
✅
User Info
GET
/user/info
Param Type Type Example phone string querystring 6289685024099
✅
User Avatar
GET
/user/avatar
Param Type Type Example phone string querystring 6289685024099
✅
User My Group List
GET
/user/my/groups
✅
User My Privacy Setting
GET
/user/my/privacy
✅
Send Message (Text)
POST
/send/message
Param Type Type Example phone string form-data 6289685024099 message string form-data Hello guys this is testing
✅
Send Message (Image)
POST
/send/image
Param Type Type Example phone string form-data 6289685024099 caption string form-data Hello guys this is caption view_once bool form-data false image binary form-data image/jpg,image/jpeg,image/png
✅
Send Message (File)
POST
/send/file
Param Type Type Example phone string form-data 6289685024099 file binary form-data any (max: 10MB)
❌
Send Message (Video)
POST
/send/video
Param Type Type Example phone string form-data 6289685024099 video binary form-data mp4/avi/mkv
✅ = Available
❌ = Not Yet Available
Homepage
Login
Send Message
Send Image
Send File
User Info
User Avatar
User Privacy
User Group
Please do this if you have an error (invalid flag in pkg-config --cflags: -Xpreprocessor)
export CGO_CFLAGS_ALLOW="-Xpreprocessor"