feat(whatsapp): enhance contact handling and configuration logic

- Added support for `lid` in WhatsApp numbers router to improve contact identification.
- Updated the contact retrieval logic to accept an object with `phone_number` and `identifier` for better clarity and consistency.
- Enhanced error handling and logging in the Chatwoot service for improved traceability during contact creation and updates.
- Implemented automatic search for the latest WhatsApp version if the CONFIG_SESSION_PHONE_VERSION variable is not set, ensuring users have the most up-to-date integration.
This commit is contained in:
Davidson Gomes
2025-06-13 14:58:01 -03:00
parent ae99ec7a0e
commit bfb044b234
3 changed files with 103 additions and 79 deletions

View File

@@ -22,6 +22,8 @@
* Ensure full WhatsApp compatibility for audio conversion (libopus, 48kHz, mono)
* Enhance message fetching and processing logic
* Fixed issue with @lid in chatwoot
* Added lid on whatsapp numbers router
* Now if the CONFIG_SESSION_PHONE_VERSION variable is not filled in it automatically searches for the most updated version
### Security