Skip to content
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

feat(core) detect vcard(contact) #939

Closed
wants to merge 4 commits into from
Closed

feat(core) detect vcard(contact) #939

wants to merge 4 commits into from

Conversation

Rpeche-pk
Copy link
Contributor

@Rpeche-pk Rpeche-pk commented Dec 10, 2023

Que tipo de Pull Request es?

  • 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

triggered when the bot receives calls, you can change the value to accept calls true/false
@Rpeche-pk Rpeche-pk changed the title vcard(contact) detection feat(core) detect vcard(contact) Dec 10, 2023
Copy link
Contributor

¿Alguna novedad sobre esta PULL REQUEST?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant