DeleteWhatsAppMessageTemplate
Source:
src/AWS/SocialMessaging/DeleteWhatsAppMessageTemplate.ts
Runtime binding for social-messaging:DeleteWhatsAppMessageTemplate.
Deletes a WhatsApp message template from the bound account, optionally across all of its languages.
The deploy-time half grants social-messaging:DeleteWhatsAppMessageTemplate 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.DeleteWhatsAppMessageTemplateHttp).
Managing Message Templates
Section titled “Managing Message Templates”// init — bind the operation to the linked WABAconst deleteTemplate = yield* AWS.SocialMessaging.DeleteWhatsAppMessageTemplate(account);
// runtimeyield* deleteTemplate({ templateName: "order_update", deleteAllLanguages: true,});