pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
15.53k stars 3.7k forks source link

How can I recollect (retrieve) chats and media for a specific time range (X to Y) in WhatsApp-Web.js? #3276

Open hikmatkmatz opened 2 months ago

hikmatkmatz commented 2 months ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe.

My phone's WhatsApp shows the messages as read in group chats, but since my internet was off, my WhatsApp-Web.js app did not catch (download) the chats and media. How can I solve this? thank you

Screenshot 2024-09-16 012653

Describe the solution you'd like.

I would like a way to automatically sync chats and media that were missed while the internet was off. Ideally, the WhatsApp-Web.js app should fetch all the unread messages and media from the phone once the internet connection is restored, ensuring no data is lost.

Describe an alternate solution.

No response

Additional context

No response

badkeyy commented 1 month ago

I will have a look at this over the next view days