builderbot icon indicating copy to clipboard operation
builderbot copied to clipboard

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

Open Rpeche-pk opened this issue 1 year ago • 1 comments

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

Que tipo de Pull Request es?

  • [x] 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 avatar Dec 03 '23 06:12 Rpeche-pk

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

leifermendez avatar Jan 25 '24 08:01 leifermendez

¿Alguna novedad sobre esta PULL REQUEST?

github-actions[bot] avatar Mar 30 '24 23:03 github-actions[bot]