Interface ConversationWebhookEvent
- All Known Subinterfaces:
CapabilityEvent
,ChannelEvent
,ContactCreateEvent
,ContactDeleteEvent
,ContactIdentitiesDuplicationEvent
,ContactMergeEvent
,ContactUpdateEvent
,ConversationDeleteEvent
,ConversationStartEvent
,ConversationStopEvent
,EventDeliveryReceiptEvent
,InboundEvent
,MessageDeliveryReceiptEvent
,MessageInboundEvent
,MessageInboundSmartConversationRedactionEvent
,MessageSubmitEvent
,OptInEvent
,OptOutEvent
,RecordNotificationEvent
,SmartConversationsEvent
,UnsupportedCallbackEvent
public interface ConversationWebhookEvent
ConversationWebhookEvent
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated Builder -
Method Summary
Modifier and TypeMethodDescriptionTimestamp 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.Context-dependent metadata.The project ID of the app which has subscribed for the callback.
-
Method Details
-
getAppId
String getAppId()Id of the subscribed app.- Returns:
- appId
-
getAcceptedTime
Instant getAcceptedTime()Timestamp marking when the channel callback was accepted/received by the Conversation API.- Returns:
- acceptedTime
-
getEventTime
Instant getEventTime()Timestamp of the event as provided by the underlying channels.- Returns:
- eventTime
-
getProjectId
String getProjectId()The project ID of the app which has subscribed for the callback.- Returns:
- projectId
-
getMessageMetadata
String getMessageMetadata()Context-dependent metadata. Refer to specific callback's documentation for exact information provided.- Returns:
- messageMetadata
-
getCorrelationId
String getCorrelationId()The value provided in field correlation_id of a send message request.- Returns:
- correlationId
-