You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! There's a new endpoint in the latest WAHA Plus version 2023.7.12, we'll add it in the next release in WAHA Core.
To set your status as "online", you send a POST /api/<session>/presence request with the body:
{
"presence": "online"
}
I haven't tested how often you should send it, usually state works for about 10-25 seconds, after that time you'll probably have to send another request for that.
Keep in mind that being always online will turn off your push notifications from the device #28
Presence
Possible presence statuses that you can set or get for chats:
online
offline
typing
recording
paused resets the chat presence after you were typing
Endpoints
Set presence
You can set your global or chat-related presence with POST /api/{session}/presence endpoint
Start typing to a chat (you can use POST /startTyping instead)
💡 In the multi-device version of WhatsApp - if a desktop client is active, WhatsApp doesn't send push notifications
to the device.
If you would like to receive said notifications - you need to mark a session's presence as offline.
Is there a way to set a waha bot to always appear online?
Could not find it in the docs.
The text was updated successfully, but these errors were encountered: