public interface WhatsAppTemplateMessageBuilder
Modifier and Type | Method and Description |
---|---|
WhatsAppTemplateMessageBuilder |
addTemplateTextParameter(String parameter)
Add a positional text parameter.
|
WhatsAppTemplateMessageBuilder |
addTemplateTextParameters(Collection<String> parameters)
Add positional text parameters.
|
WhatsAppTemplateMessageBuilder |
businessAccountId(String businessAccountId)
The id of the business account that should be used when sending out the message.
|
WhatsAppTemplateMessageBuilder |
externalUserId(String externalUserId)
The id of the recipient of the message.
|
WhatsAppTemplateMessageBuilder |
language(String language)
The language of the template that should be used.
|
WhatsAppTemplateMessageBuilder |
messageId(String messageId)
The id of the reference message within the Engage system.
|
void |
send()
Perform the send of the template message.
|
WhatsAppTemplateMessageBuilder |
templateId(String templateId)
The id of the template that is registered on the WhatsApp side
|
WhatsAppTemplateMessageBuilder templateId(String templateId)
WhatsAppTemplateMessageBuilder language(String language)
WhatsAppTemplateMessageBuilder addTemplateTextParameter(String parameter)
Note: The parameter must be added in the correct order according to the template message.
WhatsAppTemplateMessageBuilder addTemplateTextParameters(Collection<String> parameters)
Note: The parameters must be added in the correct order according to the template message.
WhatsAppTemplateMessageBuilder externalUserId(String externalUserId)
WhatsAppTemplateMessageBuilder businessAccountId(String businessAccountId)
WhatsAppTemplateMessageBuilder messageId(String messageId)
void send()
Copyright © 2019. All rights reserved.