Interface InboundReactionBuilder
- All Known Implementing Classes:
InboundReactionBuilderImpl
public interface InboundReactionBuilder
Builder for sending inbound reactions (reactions from external adapters) to the engage platform.
-
Method Summary
Modifier and TypeMethodDescriptionbusinessAccountId(String businessAccountId) The id of the business account that has received the reaction.externalMessageId(String externalMessageId) The external message id the reaction is linked toexternalSenderId(String externalSenderId) The external id of the user who reactedexternalSenderName(String externalSenderName) externalSystemId(String externalSystemId) The id of the system that the reaction originates from.The reactionRemove previous user reactionvoidsend()Perform the actual reaction send to the engage platform
-
Method Details
-
externalSenderName
-
externalSenderId
The external id of the user who reacted- Parameters:
externalSenderId- the external id of the sender
-
externalSystemId
The id of the system that the reaction originates from.- Parameters:
externalSystemId- the system id- See Also:
-
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
The external message id the reaction is linked to- Parameters:
externalMessageId- the external message id
-
reaction
-
removePreviousUserReaction
InboundReactionBuilder removePreviousUserReaction()Remove previous user reaction -
send
void send()Perform the actual reaction send to the engage platform
-