Interface ConversationEvent
public interface ConversationEvent
An event on a particular channel.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated Builder -
Method Summary
Modifier and TypeMethodDescriptionstatic ConversationEvent.Builder
builder()
Getting builderThe processed time of the message in UTC timezone.Get appEventGet channelIdentityOptional.Optional.Get directiongetId()
The ID of the event.Get processingMode
-
Method Details
-
getAppEvent
AppEvent getAppEvent()Get appEvent- Returns:
- appEvent
-
getConversationId
String getConversationId()Optional. The ID of the event's conversation. Will not be present for apps in Dispatch Mode.- Returns:
- conversationId
-
getContactId
String getContactId()Optional. The ID of the contact. Will not be present for apps in Dispatch Mode.- Returns:
- contactId
-
getChannelIdentity
ChannelIdentity getChannelIdentity()Get channelIdentity- Returns:
- channelIdentity
-
getAcceptTime
Instant getAcceptTime()The processed time of the message in UTC timezone. Must be less than current_time and greater than (current_time - 30 days).- Returns:
- acceptTime
-
getProcessingMode
ProcessingMode getProcessingMode()Get processingMode- Returns:
- processingMode
-
getDirection
ConversationDirection getDirection()Get direction- Returns:
- direction
-
getId
String getId()The ID of the event.- Returns:
- id
-
builder
Getting builder- Returns:
- New Builder instance
-