Closed augustovmedeiros closed 3 weeks ago
Hi! You need to manually set the presence each time
By default it shows the "typing" status for 10 seconds or so, if you don't send online
or paused
status.
https://waha.devlike.pro/docs/how-to/presence/#set-presence
Ideally, so the flow should be something like this. chatId
here - is the recipient, not your account
POST POST /api/{session}/presence/{chatId}/subscribe
(it's optional tho, usually working without that too)POST /api/{session}/presence
with presence: typing
and chatId
)POST /api/{session}/presence
with presence: paused
and chatId
)POST /api/sendText
or othersLet me know if that helps or if it's not that you asked about!
After sending a message, the presence gets stuck on "typing", while if you do not send the message the status will change after stop typing to "ONLINE Version
To Reproduce Steps to reproduce the behavior:
Expected behavior
Engine I'm using NOWEB engine.