wppconnect
wppconnect copied to clipboard
getMasseges method, fromMe?: true NOT WORKING!
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
- [First Step] Run the code with fromMe: true, Param.