You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Description
Enhance the library's parsing capabilities by adding an additional option to
ParseStringOptions
that appliesparsePollMessage
to all poll messages.Suggested Implementation
Add a new parameter to
ParseStringOptions
that, when enabled, applies theparsePollMessage
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.
The text was updated successfully, but these errors were encountered: