Interface WhatsAppExternalConversationSystemAdapter

All Superinterfaces:
ExternalConversationSystemAdapter
All Known Implementing Classes:
WhatsAppJmsExternalConversationSystemAdapter

public interface WhatsAppExternalConversationSystemAdapter extends ExternalConversationSystemAdapter
Author:
Filip Hrisafov
  • 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 WhatsAppContactVerificationQuery createContactVerificationQuery()
      Deprecated.
      See WhatsAppContactVerificationQuery for the deprecation reason
      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 read
      businessAccountId - The business account id for which the message should be marked as read