create_whats_app_message_template_from_library
async
¶
create_whats_app_message_template_from_library(
meta_library_template: MetaLibraryTemplate,
id: LinkedWhatsAppBusinessAccountId,
*,
config_overrides: Optional[AsyncSocialMessagingClientConfig] = None,
) -> CreateWhatsAppMessageTemplateFromLibraryOutput
Creates a new WhatsApp message template using a template from Meta's template library.
Parameters:
-
meta_library_template(MetaLibraryTemplate) –The template configuration from Meta's library, including customizations for buttons and body text.
-
id(LinkedWhatsAppBusinessAccountId) –The ID of the WhatsApp Business Account to associate with this template.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ValidationException–The request contains an invalid parameter value.
-
AccessDeniedByMetaException–You do not have sufficient access to perform this action.
-
DependencyException–Thrown when performing an action because a dependency would be broken.
-
InternalServiceException–The request processing has failed because of an unknown error, exception, or failure.
-
InvalidParametersException–One or more parameters provided to the action are not valid.
-
ResourceNotFoundException–The resource was not found.
-
ThrottledRequestException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.