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

How to check that all messages synced in the web? #1488

Closed
roysG opened this issue Dec 31, 2022 · 2 comments
Closed

How to check that all messages synced in the web? #1488

roysG opened this issue Dec 31, 2022 · 2 comments
Labels
bug Something isn't working needs triage

Comments

@roysG
Copy link

roysG commented Dec 31, 2022

Description

The getMessages working ok.
but for getting all the older messages, in the first time the whatsapp in the phone should be open until all the messages synced in the web.

Is there any command to let us see this processing?

Environment

  • WPPConnect version(s): latest
  • WA-JS version(s): 2.18.0
  • Browser: Chrome XX
  • OS: Windows X / OSX X.Y.Z
  • Node version: Node XY
  • WhatsApp version: 2.2234.13
  • MultiDevice (BETA): yes

Steps to Reproduce

  1. run the command getMessages
  2. You will get less than 20 last messages.
If relevant, paste all of your Log Output

Your Code

``
const allMsgs = await client.getMessages('number@c.us',{count:100});

@roysG roysG added bug Something isn't working needs triage labels Dec 31, 2022
@roysG roysG changed the title getMessages not working properly The getMessage not bring all the messages when specific the count Dec 31, 2022
@roysG roysG changed the title The getMessage not bring all the messages when specific the count How to check the all the messages synced in the web? Dec 31, 2022
@roysG roysG changed the title How to check the all the messages synced in the web? How to check that all messages synced in the web? Dec 31, 2022
@icleitoncosta
Copy link
Contributor

That today is available in LIB no. I don't think there is a status of the process even on WhatsApp, maybe it's possible to get it through Puppeeter.

@icleitoncosta
Copy link
Contributor

Description

The getMessages working ok. but for getting all the older messages, in the first time the whatsapp in the phone should be open until all the messages synced in the web.

Is there any command to let us see this processing?

Environment

  • WPPConnect version(s): latest
  • WA-JS version(s): 2.18.0
  • Browser: Chrome XX
  • OS: Windows X / OSX X.Y.Z
  • Node version: Node XY
  • WhatsApp version: 2.2234.13
  • MultiDevice (BETA): yes

Steps to Reproduce

  1. run the command getMessages
  2. You will get less than 20 last messages.
If relevant, paste all of your Log Output

Your Code

`` const allMsgs = await client.getMessages('number@c.us',{count:100});

Hello, you can use statusFind, and execute the functions after event inChat, or check is sync with function client.isMainReady.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

2 participants