whatsapp-web.js
whatsapp-web.js copied to clipboard
Check user online state. [feature request]
Hi everyone.
Is it possible to get user online state? (like : online, seen today at X, etc)
Thank you!
+1, this would be a good feature/function. Last Seen/is Online should, perhaps as a subset of Contact? Some new events would also be nice as well to be able to 'listen' for changes.
client.on('contact_state'...
When will this implement? Any idea
any news on this ?
Has this been implemented yet ?
A PR has been instantiated. #722 will throw an event when the state changes. You can store the presences in an object and fetch them any time later.
As an example:
const presences = {};
client.on("contact_change_state", (state, id) => {
presences[id._serialized] = state;
})
presences["[email protected]"] // returns the state
Best regards,
@pedroslopez we need more thought about this, how about a "requestPresenceUpdate" to sub then a 'presence-update' event?
Any news on this feature?
Following!
Any updates?
Any updates?
Are there any news for the problem that whatsapp web dose not subscribe to all user state events. Or what is the limit there?
any updates ?
Is there any update?
no updates so far, could be implemented, but all the previous implementations failed.. will try later in the summer but can't guarantee anything for sure.
Hi, any news on this?
There is still no way to do this, is there?
Hello guys, sorry to bother you, but there is any news about this enhancement?
There is still no way to do this, is there?