GetWhatsAppFlowPreview
Source:
src/AWS/SocialMessaging/GetWhatsAppFlowPreview.ts
Runtime binding for social-messaging:GetWhatsAppFlowPreview.
Generates (or refreshes with invalidate) a shareable preview URL for a
WhatsApp Flow on the bound account.
The deploy-time half grants social-messaging:GetWhatsAppFlowPreview on the
bound WABA’s ARN and the runtime half injects the linked account id
into every request.
Provide the implementation with
Effect.provide(AWS.SocialMessaging.GetWhatsAppFlowPreviewHttp).
Managing WhatsApp Flows
Section titled “Managing WhatsApp Flows”// init — bind the operation to the linked WABAconst getFlowPreview = yield* AWS.SocialMessaging.GetWhatsAppFlowPreview(account);
// runtimeconst { preview } = yield* getFlowPreview({ flowId: "1234567890", invalidate: true,});