evolution-api
evolution-api copied to clipboard
Last seen online
Welcome!
- [x] Yes, I have searched for similar requests on GitHub and found none.
What type of feature?
Endpoint
What is the motivation for the request?
An endpoint to send a number and get the last time it was seen online. Useful to know if a contact is still using WhatsApp, as sometimes verifying the number with /chat/whatsappNumbers responds with exists: true, but if the user hasn't connected for 3 months, (for me) it would be safe to assume the number has been abandoned.
Usage Examples
/chat/lastOnline
Request:
{ "numbers": [ "55911111111" ] }
Response:
[ { "date": timestamp (or NULL), "jid": "[email protected]", "number": "55911111111" } ]
How should the feature be developed?
No response
Additional Notes
No response
Is this possible?