Interface InboundReactionBuilder

All Known Implementing Classes:
InboundReactionBuilderImpl

public interface InboundReactionBuilder
Builder for sending inbound reactions (reactions from external adapters) to the engage platform.
  • Method Details

    • externalSenderName

      InboundReactionBuilder externalSenderName(String externalSenderName)
    • externalSenderId

      InboundReactionBuilder externalSenderId(String externalSenderId)
      The external id of the user who reacted
      Parameters:
      externalSenderId - the external id of the sender
    • externalSystemId

      InboundReactionBuilder externalSystemId(String externalSystemId)
      The id of the system that the reaction originates from.
      Parameters:
      externalSystemId - the system id
      See Also:
    • businessAccountId

      InboundReactionBuilder businessAccountId(String businessAccountId)
      The id of the business account that has received the reaction. (e.g. WhatsApp business number, WeChat official account, etc)
      Parameters:
      businessAccountId - the id of the business account
    • externalMessageId

      InboundReactionBuilder externalMessageId(String externalMessageId)
      The external message id the reaction is linked to
      Parameters:
      externalMessageId - the external message id
    • reaction

      InboundReactionBuilder reaction(String content)
      The reaction
      Parameters:
      content - the reaction
    • removePreviousUserReaction

      InboundReactionBuilder removePreviousUserReaction()
      Remove previous user reaction
    • send

      void send()
      Perform the actual reaction send to the engage platform