Interface WhatsAppExternalConversationSystemAdapter
- All Superinterfaces:
ExternalConversationSystemAdapter
- All Known Implementing Classes:
WhatsAppJmsExternalConversationSystemAdapter
public interface WhatsAppExternalConversationSystemAdapter
extends ExternalConversationSystemAdapter
- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from interface com.flowable.engage.external.system.api.ExternalConversationSystemAdapter
SEND_DOCUMENT, SEND_IMAGE, SEND_REPLY, SEND_VIDEO, SEND_VOICE
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Create a message builder for the WhatsApp interactive message.Create a message builder for the WhatsApp template message.void
markMessageAsRead
(String whatsAppMessageId, String businessAccountId) Mark a WhatsApp message as read with the given business account.Methods inherited from interface com.flowable.engage.external.system.api.ExternalConversationSystemAdapter
createMessageBuilder, fetchSupportedSendMessageTypes, getExternalSystemId, validateMessageContent
-
Method Details
-
createInteractiveMessageBuilder
WhatsAppInteractiveMessageBuilder createInteractiveMessageBuilder()Create a message builder for the WhatsApp interactive message.- Returns:
- the interactive message builder
-
createTemplateMessageBuilder
WhatsAppTemplateMessageBuilder createTemplateMessageBuilder()Create a message builder for the WhatsApp template message.- Returns:
- the template message builder
-
createContactVerificationQuery
Deprecated.SeeWhatsAppContactVerificationQuery
for the deprecation reasonCreate the verification query for WhatsApp contacts.- Returns:
- the verification query
-
markMessageAsRead
Mark a WhatsApp message as read with the given business account.- Parameters:
whatsAppMessageId
- The id of the message in WhatsApp that should be marked as readbusinessAccountId
- The business account id for which the message should be marked as read
-
WhatsAppContactVerificationQuery
for the deprecation reason