wppconnect
wppconnect copied to clipboard
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 interacti...
Was wondering what the difference between [`content`](https://wppconnect.io/wppconnect/interfaces/Message.html#content) and [`body`](https://wppconnect.io/wppconnect/interfaces/Message.html#body) of a message is. If there is a certain difference I can volunteer to amend the documentation.
## Description In my English WhatsApp instance (that is the user language I chose), Sexta-Feira is the only word that isn't English.  chat list also says "domingo":  ##...
Fixes #2242 Pls also critically check if my translations are correct.
## Description Images cannot be sent as picture As reference image, I'm taking a screenshot: ```js const picture = await client.takeScreenshot() console.log(picture) //logs valid and displayable base64 console.log( JSON.stringify( await...
There's a method to visually open a chat in the WhatsappWeb instance: https://github.com/wppconnect-team/wppconnect/blob/135805324b04479f2ea7811620525d8a750ca05a/src/api/layers/ui.layer.ts#L34 Now, since there's no `closeChat()` method, I wonder if there is any argument we can pass in...
## 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...
**Is your feature request related to a problem? Please describe.** I tried to check if a message mentions my account and ended up implementing this: ```js let myNumber create(createOptions).then(client =>...
Where I saw `null`, I assumed there could be other values so I added comments as a reminder to specify this later. I have not seen `labels` in any messages,...
When using [`startTyping`](https://wppconnect.io/wppconnect/classes/Whatsapp.html#startTyping) you can hand in a timeout: ```js await client.startTyping('[number]@c.us', 5000); ``` When you prefix `await`, I wonder if the returned promise will actually wait for the specified...
based on two actual groups I retrieved using `client.listChats({ onlyGroups: true })` it has a few TODOs but I thought generic types are better than none