Interface SendChatIntegrationEventResponse.Builder

    • Method Detail

      • initialContactId

        SendChatIntegrationEventResponse.Builder initialContactId​(String initialContactId)

        Identifier of chat contact used to handle integration event. This may be null if the integration event is not valid without an already existing chat contact.

        Parameters:
        initialContactId - Identifier of chat contact used to handle integration event. This may be null if the integration event is not valid without an already existing chat contact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • newChatCreated

        SendChatIntegrationEventResponse.Builder newChatCreated​(Boolean newChatCreated)

        Whether handling the integration event resulted in creating a new chat or acting on existing chat.

        Parameters:
        newChatCreated - Whether handling the integration event resulted in creating a new chat or acting on existing chat.
        Returns:
        Returns a reference to this object so that method calls can be chained together.