This PR introduces WhatsApp as a new marketing channel in our application. Here's a summary of the changes:
Created a new function sendWhatsAppWithPayload in packages/backend-lib/src/journeys/userWorkflow/activities.ts to handle the WhatsApp message sending logic.
Modified the sendWithTracking function in packages/backend-lib/src/journeys/userWorkflow/activities.ts to include the new WhatsApp channel in the channelSend function.
Updated the sendMobilePushWithPayload and sendEmailWithPayload functions in packages/backend-lib/src/journeys/userWorkflow/activities.ts to include the new WhatsApp channel in the getChannelConfig and channelSend functions.
Adjusted the BaseSendParams and SendParams interfaces in packages/backend-lib/src/journeys/userWorkflow/activities.ts to include the new WhatsApp channel.
With these changes, users can now receive marketing messages via WhatsApp, expanding our reach and providing more flexibility in communication channels.
Fixes #1.
To checkout this PR branch, run the following command in your terminal:
This PR introduces WhatsApp as a new marketing channel in our application. Here's a summary of the changes:
sendWhatsAppWithPayload
inpackages/backend-lib/src/journeys/userWorkflow/activities.ts
to handle the WhatsApp message sending logic.sendWithTracking
function inpackages/backend-lib/src/journeys/userWorkflow/activities.ts
to include the new WhatsApp channel in thechannelSend
function.sendMobilePushWithPayload
andsendEmailWithPayload
functions inpackages/backend-lib/src/journeys/userWorkflow/activities.ts
to include the new WhatsApp channel in thegetChannelConfig
andchannelSend
functions.BaseSendParams
andSendParams
interfaces inpackages/backend-lib/src/journeys/userWorkflow/activities.ts
to include the new WhatsApp channel.With these changes, users can now receive marketing messages via WhatsApp, expanding our reach and providing more flexibility in communication channels.
Fixes #1.
To checkout this PR branch, run the following command in your terminal: