Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'fetch_all_unread_chats' not fetching top contacts #125

Open
alejandrodr1903 opened this issue May 29, 2023 · 0 comments
Open

'fetch_all_unread_chats' not fetching top contacts #125

alejandrodr1903 opened this issue May 29, 2023 · 0 comments

Comments

@alejandrodr1903
Copy link

alejandrodr1903 commented May 29, 2023

Hi!

My code is simple

from alright import WhatsApp
import time

messenger = WhatsApp()

while True:
	chats = messenger.fetch_all_unread_chats(limit=True, top=30)

	for chat in chats:
		print(chat['sender'])

	time.sleep(1)

the problem is that i need to get, once again, the most recent unread chats.

on selenium, i can see that the message list is not fetching the top/first ones.

How i can solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant