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 get Unread Message #2201

Closed
Akash-Rathore opened this issue Aug 5, 2024 · 2 comments
Closed

How to get Unread Message #2201

Akash-Rathore opened this issue Aug 5, 2024 · 2 comments
Labels
enhancement New feature or request needs triage

Comments

@Akash-Rathore
Copy link

I need to know how to get unread messages. I am searching but cannot find the correct information

@Akash-Rathore Akash-Rathore added enhancement New feature or request needs triage labels Aug 5, 2024
Copy link

@Akash-Rathore, ⭐3 XP earned, 🏆First Issue Created completed!
Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

@icleitoncosta
Copy link
Contributor

icleitoncosta commented Aug 27, 2024

 await WPP.chat.getMessages('[number]@c.us', {
    count: 20,
    onlyUnread: true,
  });

See more at: https://wppconnect.io/wa-js/functions/chat.getMessages.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage
Projects
None yet
Development

No branches or pull requests

2 participants