An implementation of @adiwajshing/Baileys as a simple API service with multiple device support.
- Download or clone this repo.
- Enter to the project directory.
- Execute
npm i
.
- Execute
npm run start
. - Now you can access the endpoint from
http://localhost:8000
.
This endpoint provide an UI to manage your devices.
This endpoint used to send a text message (currently only can be used to send a message to a single person).
Parameters
sender
The session ID that already created.receiver
The receiver phone number in format:[country code without +][phone number]
.message
The message.