GithubHelp home page GithubHelp logo

Comments (10)

smashah avatar smashah commented on May 26, 2024 1

Please try this and let me know if it works for you thanks

open-wa/wa-automate-nodejs@484dbc4

from sulla.

rfscheidt avatar rfscheidt commented on May 26, 2024 1

yes, it's work!!! Thanks you very much!

from sulla.

rfscheidt avatar rfscheidt commented on May 26, 2024

I have the same issue, the getAllChats method don't retrieve messages.

from sulla.

vasani-arpit avatar vasani-arpit commented on May 26, 2024

There is a getUnreadMessages method https://github.com/danielcardeenas/sulla/blob/master/src/lib/wapi.js#L817 in the lib but I am not sure there is TS wrapper around it or not.

from sulla.

rfscheidt avatar rfscheidt commented on May 26, 2024

Is there any way I can read the messages already read again?

from sulla.

vasani-arpit avatar vasani-arpit commented on May 26, 2024

Yes. you can there is a getAllMessagesInChat in wapi.js which you can utilize for that purpose.

from sulla.

rfscheidt avatar rfscheidt commented on May 26, 2024

How do I use wapi.js method that is not mapped in whatsapp.d.ts?

from sulla.

smashah avatar smashah commented on May 26, 2024

@rfscheidt request it via a new issue in the relevant repo or implement and do a PR.

from sulla.

smashah avatar smashah commented on May 26, 2024

getAllMessagesInChat is implemented in 446da9a

from sulla.

rfscheidt avatar rfscheidt commented on May 26, 2024

Time: 1574692056782
(node:46721) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read property 'participants' of undefined
at Object.window.WAPI._getGroupParticipants (/Users/foka/dev/workspace-estudos/whatsapp/node_modules/sulla-hotfix/dist/lib/wapi.js:548:21)
at async Object.window.WAPI.getGroupParticipantIDs (/Users/foka/dev/workspace-estudos/whatsapp/node_modules/sulla-hotfix/dist/lib/wapi.js:559:21)
at ExecutionContext._evaluateInternal (/Users/foka/dev/workspace-estudos/whatsapp/node_modules/puppeteer/lib/ExecutionContext.js:122:13)
at process._tickCallback (internal/process/next_tick.js:68:7)
-- ASYNC --
at ExecutionContext. (/Users/foka/dev/workspace-estudos/whatsapp/node_modules/puppeteer/lib/helper.js:111:15)
at DOMWorld.evaluate (/Users/foka/dev/workspace-estudos/whatsapp/node_modules/puppeteer/lib/DOMWorld.js:112:20)
at process._tickCallback (internal/process/next_tick.js:68:7)

from sulla.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.