public interface InboundMessageBuilder
Modifier and Type | Method and Description |
---|---|
InboundMessageBuilder |
businessAccountId(String businessAccountId)
The id of the business account that has received the message.
|
InboundMessageBuilder |
content(String content)
The content of the message
|
InboundMessageBuilder |
contentType(String contentType)
The type of the content for the message.
|
InboundMessageBuilder |
externalId(String externalId)
The optional external id of the message in the external system.
|
InboundMessageBuilder |
externalMediaId(String externalMediaId)
The id of the external media.
|
InboundMessageBuilder |
externalMediaMimeType(String externalMediaMimeType)
The mime type of the external media.
|
InboundMessageBuilder |
externalMediaName(String externalMediaName)
The name of the external media.
|
InboundMessageBuilder |
externalSenderId(String externalSenderId)
The external id of the user that send the message
|
InboundMessageBuilder |
externalSenderName(String externalSenderName) |
InboundMessageBuilder |
externalSystemId(String externalSystemId)
The id of the system that the message originates from.
|
InboundMessageBuilder |
messageSubType(String messageSubType) |
InboundMessageBuilder |
messageType(String messageType) |
void |
send()
Perform the actual message send to the engage platform
|
void |
sendUnsupported()
Perform sending the message as an unsupported type.
|
InboundMessageBuilder externalSenderName(String externalSenderName)
InboundMessageBuilder externalSenderId(String externalSenderId)
externalSenderId
- the external id of the senderInboundMessageBuilder externalSystemId(String externalSystemId)
externalSystemId
- the system idExternalSystemIds
InboundMessageBuilder businessAccountId(String businessAccountId)
businessAccountId
- the id of the business accountInboundMessageBuilder externalId(String externalId)
externalId
- the external idInboundMessageBuilder messageType(String messageType)
InboundMessageBuilder messageSubType(String messageSubType)
InboundMessageBuilder content(String content)
content
- the message contentInboundMessageBuilder contentType(String contentType)
contentType
- the message content typeInboundMessageBuilder externalMediaId(String externalMediaId)
externalMediaId
- the external media idInboundMessageBuilder externalMediaName(String externalMediaName)
externalMediaName
- the external media nameInboundMessageBuilder externalMediaMimeType(String externalMediaMimeType)
externalMediaMimeType
- the external media mime typevoid send()
void sendUnsupported()
Copyright © 2019. All rights reserved.