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

Option for Poll Parsing #264

Open
oxedom opened this issue Dec 21, 2024 · 0 comments
Open

Option for Poll Parsing #264

oxedom opened this issue Dec 21, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@oxedom
Copy link

oxedom commented Dec 21, 2024

Description

Enhance the library's parsing capabilities by adding an additional option to ParseStringOptions that applies parsePollMessage to all poll messages.

Suggested Implementation

Add a new parameter to ParseStringOptions that, when enabled, applies the parsePollMessage logic to every detected poll message. This can be implemented by using a regular expression to identify messages of the POLL type.

Here's the relevant section of the code for context:
Poll Parser Utility

This will also require changes in the type that whatsapp.parseString() returns.

@Pustur Pustur transferred this issue from Pustur/whatsapp-chat-parser-website Dec 24, 2024
@Pustur Pustur added the enhancement New feature or request label Dec 24, 2024
oxedom added a commit to oxedom/whatsapp-chat-parser that referenced this issue Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants