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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WhatsAppContactVerificationQuery
createContactVerificationQuery()
Create the verification query for WhatsApp contacts.WhatsAppInteractiveMessageBuilder
createInteractiveMessageBuilder()
Create a message builder for the WhatsApp interactive message.WhatsAppTemplateMessageBuilder
createTemplateMessageBuilder()
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 Detail
-
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
WhatsAppContactVerificationQuery createContactVerificationQuery()
Create the verification query for WhatsApp contacts.- Returns:
- the verification query
-
markMessageAsRead
void markMessageAsRead(String whatsAppMessageId, String businessAccountId)
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
-
-