Interface WhatsAppExternalConversationSystemAdapter
- All Superinterfaces:
ExternalConversationSystemAdapter
- All Known Implementing Classes:
WhatsAppJmsExternalConversationSystemAdapter
public interface WhatsAppExternalConversationSystemAdapter extends ExternalConversationSystemAdapter
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and Type Method Description WhatsAppContactVerificationQuery
createContactVerificationQuery()
Create the verification query for WhatsApp contacts.WhatsAppTemplateMessageBuilder
createTemplateMessageBuilder()
Create a message builder for the WhatsApp template message.void
markMessageAsRead(java.lang.String whatsAppMessageId, java.lang.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, getExternalSystemId, validateMessageContent
-
Method Details
-
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(java.lang.String whatsAppMessageId, java.lang.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
-