-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start a new conversation #23
Comments
Tengo la idea, pero infortunadamente nodejs es algo enredado para programar :-( , no he logrado que una función retorne el resultado de una consulta para que sea enviado al whatsapp de quien pregunta, a la línea que envía el mensaje a whatsapp llega "undefined" pero al sacarlo por console.log ahí si lo muestra. Estoy leyendo y viendo videos tutoriales sobre nodejs para entenderlo y crear funciones, crear bucles, consultas periódicas de tal forma que si en la BD hay un anuncio lo "recoja" y se lo envíe al whatsapp, pero hasta el momento nada que avanzo, muy diferente a php. |
please help, i am trying to use this project. where do i put the example code that was pasted in the README.md i just need a little push to understand how to implement custom code on top of this. i havetried using the index.ts but it fails. i also tried the index.js
|
Create a file, example "index.js" copy the code and execute it in cmd "node index.js", then login with QR scan |
I think just use: Which phone is in international format without + sign. |
I got same problem, I can't open new conversation, just works in conversations on "conversation tab". |
Has anyone been able to send to a new contact? |
You can create a conversation with a phone number using the following url: https://web.whatsapp.com/send?phone=34601XXXXXX&text=message&source=&data= |
Plase update to new version To send a message to a contact (non-group) just type the number client.sendText('555555555555@c.us', 'Direct message'); On a regular message received do a |
THANK YOU FOR EVEVERYTHİNG |
Hi, i'm try to use but if the contact don't has a previews talk with me i cant start a new conversation. This is normal? Has plane for implementation this in the future?
The text was updated successfully, but these errors were encountered: