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 #236

Closed diegoheliodasilva closed 7 months ago

diegoheliodasilva commented 7 months ago

Does the presence method only work with numbers that have my client's bot number in their contacts?

allburov commented 7 months ago

Hi! Correct, it's the way when WhatsApp sends that data - https://faq.whatsapp.com/419827870318306

There are a few reasons why you might not be able to see someone's last seen or online:

  • They might have set their privacy settings to hide this information.
  • You might have set your privacy settings to not share your last seen. If you don't share your last seen, you can't see other contacts' last seen.
  • You might have been blocked.
  • You might not have chatted with them before.
  • They might not have you saved as a contact.
    • You might not have them saved as a contact.

I don't think the last one is required for presence in NOWEB tho, as long as you subscribed to presence.