Class InboundMessageDto
- java.lang.Object
-
- com.flowable.engage.external.system.dto.InboundMessageDto
-
- Direct Known Subclasses:
LineInboundMessageDto
public class InboundMessageDto extends Object
- Author:
- Filip Hrisafov
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInboundMessageDto.Media
-
Field Summary
Fields Modifier and Type Field Description protected StringbusinessAccountIdprotected Stringcontentprotected Map<String,Object>dynamicPropertiesprotected StringexternalIdprotected InboundMessageDto.MediaexternalMediaprotected StringinteractiveOutcomeThis contains the content of an interactive reaction from the user.protected StringreplyToExternalIdprotected StringsenderIdprotected StringsenderNameprotected StringsubTypeprotected Stringtype
-
Constructor Summary
Constructors Constructor Description InboundMessageDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBusinessAccountId()StringgetContent()Map<String,Object>getDynamicProperties()StringgetExternalId()InboundMessageDto.MediagetExternalMedia()StringgetInteractiveOutcome()StringgetReplyToExternalId()StringgetSenderId()StringgetSenderName()StringgetSubType()StringgetType()voidsetBusinessAccountId(String businessAccountId)voidsetContent(String content)voidsetDynamicProperties(Map<String,Object> dynamicProperties)voidsetExternalId(String externalId)voidsetExternalMedia(InboundMessageDto.Media externalMedia)voidsetInteractiveOutcome(String interactiveOutcome)voidsetReplyToExternalId(String replyToExternalId)voidsetSenderId(String senderId)voidsetSenderName(String senderName)voidsetSubType(String subType)voidsetType(String type)
-
-
-
Field Detail
-
senderId
protected String senderId
-
senderName
protected String senderName
-
businessAccountId
protected String businessAccountId
-
externalId
protected String externalId
-
replyToExternalId
protected String replyToExternalId
-
externalMedia
protected InboundMessageDto.Media externalMedia
-
type
protected String type
-
subType
protected String subType
-
content
protected String content
-
interactiveOutcome
protected String interactiveOutcome
This contains the content of an interactive reaction from the user. For WhatsApp messages this contains:- The button payload of the button message type
- The button reply id of the interactive button_reply message
- The list reply id of the interactive list_reply message
-
-
Method Detail
-
getSenderId
public String getSenderId()
-
setSenderId
public void setSenderId(String senderId)
-
getSenderName
public String getSenderName()
-
setSenderName
public void setSenderName(String senderName)
-
getBusinessAccountId
public String getBusinessAccountId()
-
setBusinessAccountId
public void setBusinessAccountId(String businessAccountId)
-
getExternalId
public String getExternalId()
-
setExternalId
public void setExternalId(String externalId)
-
getReplyToExternalId
public String getReplyToExternalId()
-
setReplyToExternalId
public void setReplyToExternalId(String replyToExternalId)
-
getExternalMedia
public InboundMessageDto.Media getExternalMedia()
-
setExternalMedia
public void setExternalMedia(InboundMessageDto.Media externalMedia)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getSubType
public String getSubType()
-
setSubType
public void setSubType(String subType)
-
getContent
public String getContent()
-
setContent
public void setContent(String content)
-
getInteractiveOutcome
public String getInteractiveOutcome()
-
setInteractiveOutcome
public void setInteractiveOutcome(String interactiveOutcome)
-
-