WPPConnect is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node, which can be used to support the creation of any interaction, such as customer service, media sending, intelligence recognition based on phrases artificial and many other things, use your imagination
Maybe we can add support for the 1st param being a message object (2nd one would become optional) so that the method extracts all the data that it needs from the message.
Description
Cannot open the chat when using
openChatAt()
, butopenChat()
works.Environment
Steps to Reproduce
Log Output
but the 2nd parameter is something like
false_987654321098765432@g.us_ABCDEF1234567890_0987654321098@c.us
Your Code
this approach works, but won't necessarily scroll to the right message:
Additional context / Screenshot
Maybe we can add support for the 1st param being a message object (2nd one would become optional) so that the method extracts all the data that it needs from the message.