mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.04k stars 794 forks source link

mark_default_unread_messages #491

Open ghost opened 6 years ago

ghost commented 6 years ago

I dont know whats that!

Michotastico commented 6 years ago

(At least a while ago) By default, when you open whatsapp web, the platform only mark as unread the new messages received in whatsapp web. So, if you receive a new message before that (for example in the connection process), that message will not be getted using get_unread_messages.

In the previous context, I created that function with the purpose of being called after the login. But if you get all the messages, including your messages, this function is useless for you.

ghost commented 6 years ago

it say: Function MarkDefaultUnreadMessages doesn't exist

Michotastico commented 6 years ago

Then it was deleted from the javascript on some pull request but not from the python.