builderbot icon indicating copy to clipboard operation
builderbot copied to clipboard

feat(core) detect vcard(contact)

Open Rpeche-pk opened this issue 2 years ago • 0 comments

Que tipo de Pull Request es?

  • [x] Mejoras
  • [ ] Bug
  • [ ] Docs / tests

Descripción

detect when a user sends a contact or vCard to our WhatsApp bot. The implemented feature analyses the content of the message and intelligently extracts the data associated with the contact, providing a richer experience for users interacting with our bot.

tomar en cuenta, modificación para que no cierre el programa

if (match && match.length > 1) {
                    const waid = match[1];
                    const details={
                        contact:{
                            nameCard,
                            waid}
                        };
                    payload = { ...payload, body: generateRefprovider('_event_contact_'),details };
                  }

company contact

image

contact of a person

image

Rpeche-pk avatar Dec 10 '23 16:12 Rpeche-pk