Skip to content

resolves #1864 whatsapp_connector: deprecate legacy connector and clean up successor #1871

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

Merged

Conversation

Fabilin
Copy link
Member

@Fabilin Fabilin commented Mar 20, 2025

This PR formally deprecates the whatsapp-connector module, and promotes the whatsapp-cloud-connector module as an alternative. It also does a cleanup pass on the latter, to make it more maintainable going forward.

The following changes have been made:

  1. updated the README of both modules, as well as the relevant documentation pages
  2. properly encapsulated WhatsApp API calls in the cloud connector
  3. added missing endForWhatsAppCloud utility method
  4. Split whatsAppCloudImage into one variant for images downloaded from a URL and another for images loaded in memory as a byte array
  5. finished renaming Component to WhatsappTemplateComponent
  6. moved the message preparation logic to the message classes
  7. deprecated all message building methods in the legacy whatsapp-cloud connector

@vsct-jburet vsct-jburet self-requested a review March 31, 2025 07:34
@vsct-jburet vsct-jburet added this to the 25.3.0 milestone Mar 31, 2025
@vsct-jburet vsct-jburet merged commit ef7db56 into theopenconversationkit:master Mar 31, 2025
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