Interface MessageInboundSmartConversationRedactionEvent
- All Superinterfaces:
ConversationWebhookEvent
This callback delivers contact (end-user) messages to the API clients. The content of the message
goes through an A.I. analysis and is redacted if required.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated Builder -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Getting builderTimestamp marking when the channel callback was accepted/received by the Conversation API.getAppId()
Id of the subscribed app.The value provided in field correlation_id of a send message request.Timestamp of the event as provided by the underlying channels.Get messageContext-dependent metadata.The project ID of the app which has subscribed for the callback.
-
Method Details
-
getAppId
String getAppId()Id of the subscribed app.- Specified by:
getAppId
in interfaceConversationWebhookEvent
- Returns:
- appId
-
getAcceptedTime
Instant getAcceptedTime()Timestamp marking when the channel callback was accepted/received by the Conversation API.- Specified by:
getAcceptedTime
in interfaceConversationWebhookEvent
- Returns:
- acceptedTime
-
getEventTime
Instant getEventTime()Timestamp of the event as provided by the underlying channels.- Specified by:
getEventTime
in interfaceConversationWebhookEvent
- Returns:
- eventTime
-
getProjectId
String getProjectId()The project ID of the app which has subscribed for the callback.- Specified by:
getProjectId
in interfaceConversationWebhookEvent
- Returns:
- projectId
-
getMessageMetadata
String getMessageMetadata()Context-dependent metadata. Refer to specific callback's documentation for exact information provided.- Specified by:
getMessageMetadata
in interfaceConversationWebhookEvent
- Returns:
- messageMetadata
-
getCorrelationId
String getCorrelationId()The value provided in field correlation_id of a send message request.- Specified by:
getCorrelationId
in interfaceConversationWebhookEvent
- Returns:
- correlationId
-
getMessage
MessageInboundEventMessage getMessage()Get message- Returns:
- message
-
builder
Getting builder- Returns:
- New Builder instance
-