Closed gekkedev closed 2 weeks ago
There isn't a specific function to close the chat, but I will transfer the issue to WAJS to implement it in the library later.
@gekkedev, ⭐3 XP earned, 🏆First Issue Created completed, 💪Level 4 achieved! Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]
I Already implemented by commit https://github.com/wppconnect-team/wa-js/commit/192e4162d468e188ab55d9d7894fcbbcbaf70c75
Now is necessary implement in lib and server, i will transfer this issue for LIB
thanks; I prepared a PR with the wrapper function. I only tested the WPP method so far (works well):
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 to close the opened chat again.