public interface Event
Event
  • Method Details

    • getId

      String getId()
      The event ID.
      Returns:
      id
    • getDirection

      Event.DirectionEnum getDirection()
      The direction of the event. It's always TO_APP for contact events.
      Returns:
      direction
    • getContactEvent

      ContactEvent getContactEvent()
      Get contactEvent
      Returns:
      contactEvent
    • getContactMessageEvent

      ContactMessageEvent getContactMessageEvent()
      Get contactMessageEvent
      Returns:
      contactMessageEvent
    • getChannelIdentity

      ChannelIdentity getChannelIdentity()
      Get channelIdentity
      Returns:
      channelIdentity
    • getContactId

      String getContactId()
      The ID of the contact. Will be empty if processing_mode is DISPATCH.
      Returns:
      contactId
    • getConversationId

      String getConversationId()
      The ID of the conversation this event is part of. Will be empty if processing_mode is DISPATCH.
      Returns:
      conversationId
    • getAcceptTime

      Instant getAcceptTime()
      Timestamp marking when the channel callback was received by the Conversation API.
      Returns:
      acceptTime
    • getProcessingMode

      ProcessingMode getProcessingMode()
      Get processingMode
      Returns:
      processingMode
    • builder

      static Event.Builder builder()
      Getting builder
      Returns:
      New Builder instance