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(provider): event to reject calls to the bot #936

Closed
wants to merge 4 commits into from
Closed

feat(provider): event to reject calls to the bot #936

wants to merge 4 commits into from

Conversation

Rpeche-pk
Copy link
Contributor

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

triggered when the bot receives calls, you can change the value to accept calls true/false

Que tipo de Pull Request es?

  • Mejoras
  • Bug
  • Docs / tests

Descripción

Este evento esta a la escucha de si recibir llamadas o no, puede configurarlo de la sgt manera:
const adapterProvider = createProvider(BaileysProvider, { enabledCalls: false });
donde:
false - no permite llamadas
true - permite llamadas

Rpeche-pk and others added 3 commits December 3, 2023 00:58
triggered when the bot receives calls, you can change the value to accept calls true/false
@leifermendez
Copy link
Member

genial! tienes unos conflictos tambien seria de gran ayuda si haces este cambio en https://github.com/codigoencasa/bot-whatsapp/tree/typescript

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.

2 participants