ListWhatsAppTemplateLibrary
Source:
src/AWS/SocialMessaging/ListWhatsAppTemplateLibrary.ts
Runtime binding for social-messaging:ListWhatsAppTemplateLibrary.
Lists the pre-approved templates available in Meta’s template library, optionally filtered by category, topic, or industry.
The deploy-time half grants social-messaging:ListWhatsAppTemplateLibrary 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.ListWhatsAppTemplateLibraryHttp).
Managing Message Templates
Section titled “Managing Message Templates”// init — bind the operation to the linked WABAconst browseLibrary = yield* AWS.SocialMessaging.ListWhatsAppTemplateLibrary(account);
// runtimeconst { metaLibraryTemplates } = yield* browseLibrary({ filters: { category: "UTILITY" },});