Uses of Class
com.whatsapp.api.domain.templates.MessageTemplate
Package
Description
-
Uses of MessageTemplate in com.whatsapp.api.domain.templates
Modifier and TypeMethodDescriptionMessageTemplate.addComponent
(Component<?> component) Add component message template.MessageTemplate.addComponents
(Component<?>... components) Add components message template.MessageTemplate.setCategory
(Category category) Sets category.MessageTemplate.setComponents
(List<Component<?>> components) Sets components.MessageTemplate.setLanguage
(LanguageType languageType) Sets language.Sets name. -
Uses of MessageTemplate in com.whatsapp.api.impl
Modifier and TypeMethodDescriptionWhatsappBusinessManagementApi.createMessageTemplate
(String whatsappBusinessAccountId, MessageTemplate messageTemplate) Use the WhatsApp Business Management API to create new message templates, media message templates, or interactive message templates.WhatsappBusinessManagementApi.updateMessageTemplate
(String whatsappBusinessAccountId, String messageTemplateId, MessageTemplate messageTemplate) Update message template message template id response. -
Uses of MessageTemplate in com.whatsapp.api.service
Modifier and TypeMethodDescriptionretrofit2.Call<Template>
WhatsappBusinessManagementApiService.createMessageTemplate
(String apiVersion, String whatsappBusinessAccountId, MessageTemplate messageTemplate) Create message template call.retrofit2.Call<Template>
WhatsappBusinessManagementApiService.updateMessageTemplate
(String apiVersion, String whatsappBusinessAccountId, String messageTemplateId, MessageTemplate messageTemplate) Update message template call.