Replies: 1 comment
-
Hi, the project run using system files, because the Venom use the navigator to access the web.whatsapp.com, in your tokens folder Venom save all you need to reload sessions. To create session manually: To save the session to open after the server is closed by user or Exception (You need to implement this on your server is closed, using foreach if there are multiple sessions): If you need to work with several active sessions and manage them, work with session names in the database. it's similar with using images on the system, usually you work with links to the file, and don't save them in the database. |
Beta Was this translation helpful? Give feedback.
-
Hello, I currently have a project where I would like to send messages via whatsapp depending on a user action, just send, the return would be irrelevant (for now).
What I think of flow is:
1 - Endpoint for the user to scan the QR CODE
2 - Change the endpoint where the action I need takes place, retrieve the venom session and send it to the number.
My question is, how do I save and restore the session? I wanted to save this in the bank, not in the file system, is it possible?
Since I don't want anything in real-time, I don't need a socket.io-like solution, right?
Beta Was this translation helpful? Give feedback.
All reactions