builderbot
builderbot copied to clipboard
feat(provider): event to reject calls to the bot
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
genial! tienes unos conflictos tambien seria de gran ayuda si haces este cambio en https://github.com/codigoencasa/bot-whatsapp/tree/typescript
¿Alguna novedad sobre esta PULL REQUEST?