wppconnect icon indicating copy to clipboard operation
wppconnect copied to clipboard

getMasseges method, fromMe?: true NOT WORKING!

Open ly-yon opened this issue 7 months ago • 0 comments

Description

   client.getMessages(message.from, {
      count: 1,
      fromMe: true,
    });

When i try to run this part of the code it should return array includes only 1 Message that i have sent to chat, but it doesn't do that, simply it ignores the value and return all messages!!!

Environment

  • WPPConnect version(s): latest
  • WA-JS version(s): lates
  • Browser: Chromium
  • OS: Linux/Ubuntu
  • Node version: Node 20
  • WhatsApp version: 2.3000.xx
  • MultiDevice (BETA): yes

Steps to Reproduce

  1. [First Step] Run the code with fromMe: true, Param.

ly-yon avatar Jun 29 '24 11:06 ly-yon