Interface ChatContactMetrics.Builder

  • Method Details

    • multiParty

      ChatContactMetrics.Builder multiParty(Boolean multiParty)

      A boolean flag indicating whether multiparty chat or supervisor barge were enabled on this contact.

      Parameters:
      multiParty - A boolean flag indicating whether multiparty chat or supervisor barge were enabled on this contact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalMessages

      ChatContactMetrics.Builder totalMessages(Integer totalMessages)

      The number of chat messages on the contact.

      Parameters:
      totalMessages - The number of chat messages on the contact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalBotMessages

      ChatContactMetrics.Builder totalBotMessages(Integer totalBotMessages)

      The total number of bot and automated messages on a chat contact.

      Parameters:
      totalBotMessages - The total number of bot and automated messages on a chat contact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalBotMessageLengthInChars

      ChatContactMetrics.Builder totalBotMessageLengthInChars(Integer totalBotMessageLengthInChars)

      The total number of characters from bot and automated messages on a chat contact.

      Parameters:
      totalBotMessageLengthInChars - The total number of characters from bot and automated messages on a chat contact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conversationCloseTimeInMillis

      ChatContactMetrics.Builder conversationCloseTimeInMillis(Long conversationCloseTimeInMillis)

      The time it took for a contact to end after the last customer message.

      Parameters:
      conversationCloseTimeInMillis - The time it took for a contact to end after the last customer message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conversationTurnCount

      ChatContactMetrics.Builder conversationTurnCount(Integer conversationTurnCount)

      The number of conversation turns in a chat contact, which represents the back-and-forth exchanges between customer and other participants.

      Parameters:
      conversationTurnCount - The number of conversation turns in a chat contact, which represents the back-and-forth exchanges between customer and other participants.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentFirstResponseTimestamp

      ChatContactMetrics.Builder agentFirstResponseTimestamp(Instant agentFirstResponseTimestamp)

      The agent first response timestamp for a chat contact.

      Parameters:
      agentFirstResponseTimestamp - The agent first response timestamp for a chat contact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentFirstResponseTimeInMillis

      ChatContactMetrics.Builder agentFirstResponseTimeInMillis(Long agentFirstResponseTimeInMillis)

      The time for an agent to respond after obtaining a chat contact.

      Parameters:
      agentFirstResponseTimeInMillis - The time for an agent to respond after obtaining a chat contact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.