ookamiiixd / baileys-api

Simple WhatsApp REST API with multiple device support
MIT License
431 stars 327 forks source link

Adding auto response #164

Closed davidgalih closed 1 year ago

davidgalih commented 1 year ago

I have seen your update regarding reading incoming messages automatically, but how can I add a code if a certain message will be replied automatically. Suppose an incoming message Ping and will be replied to pong

kevineduardo commented 1 year ago

This is not a bot project. This is an API project. Use the API to send the message, and use the webhook (from the dev branch) to receive the message in YOUR application using this API.

kevineduardo commented 1 year ago

Bot Project for WhatsApp: https://github.com/adiwajshing/WhatsappInfoBot

ookamiiixd commented 1 year ago

As @kevineduardo said, your request is not really relevant. Thus, i can't fullfill your request for now

Even if i changed my mind, the best i can do is probably do a simple lookup in a DB and returns the corresponding response, which should be easy to do it on your own by extending the project