Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

251
Views
Cómo detectar en Whatsapp-web.js cuando se está escribiendo un número o cuando ha recibido un enlace de número y ha hecho clic en él

Necesito activar un evento cuando una persona haya recibido el enlace de un bot. Este bot enviará un mensaje específico, pero el evento debe ser cuando la persona haga clic en un enlace, porque esta biblioteca tiene eventos como cuando está listo. , cuando recibe un mensaje. Déjeme entender cómo usar esta biblioteca porque soy nuevo en el uso de bibliotecas de JavaScript. Por supuesto que ya hice la conexión y está recibiendo mensajes bastante bien.

 const { Client } = require('whatsapp-web.js'); const client = new Client(); client.on('qr', (qr) => { // Generate and scan this code with your phone console.log('QR RECEIVED', qr); }); client.on('ready', () => { console.log('Client is ready!'); }); client.on('message', msg => { if (msg.body == '!ping') { msg.reply('pong'); } }); client.initialize();
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!