devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click! Two engines: chromium-based WEBJS and pure-websocket NOWEB
https://waha.devlike.pro/
Apache License 2.0
831 stars 254 forks source link

Presence not working "The method is not implemented by the engine" #208

Closed faruksengul closed 10 months ago

faruksengul commented 10 months ago

There seems to be a problem with all entity related APIs. All endpoints are "Method not implemented by engine". mistake

allburov commented 10 months ago

Hi! Yes, it works only on NOWEB engine.

Get presence endpoints and webhook is available only in NOWEB engine.

https://waha.devlike.pro/docs/how-to/presence/#get-all-chats-presence

Default engine (WEBJS) doesn't support it and no progress on it as I can see https://github.com/pedroslopez/whatsapp-web.js/issues/82

We'll add information about engines that support endpoints and webhooks soon, sorry for the confusion! https://github.com/devlikeapro/whatsapp-http-api/issues/207

faruksengul commented 10 months ago

I installed it from scratch using the engine as in the link below. But it still comes up empty. docker run -it -p 3000:3000/tcp -e "WHATSAPP_DEFAULT_ENGINE=NOWEB" devlikeapro/whatsapp-http-api I cannot access either the relevant chat or all chat latest statuses, the result is empty.