Skip to content

ChatContactMetrics

Source code in docs_src/capo_connect/types/chat_contact_metrics.py
class ChatContactMetrics(TypedDict, closed=True):
    multi_party: NotRequired["capo_connect.types.nullable_boolean.NullableBoolean"]
    """<p>A boolean flag indicating whether multiparty chat or supervisor barge were enabled on this contact.</p>"""
    total_messages: NotRequired["capo_connect.types.count.Count"]
    """<p>The number of chat messages on the contact.</p>"""
    total_bot_messages: NotRequired["capo_connect.types.count.Count"]
    """<p>The total number of bot and automated messages on a chat contact.</p>"""
    total_bot_message_length_in_chars: NotRequired["capo_connect.types.count.Count"]
    """<p>The total number of characters from bot and automated messages on a chat contact.</p>"""
    conversation_close_time_in_millis: NotRequired[
        "capo_connect.types.duration_millis.DurationMillis"
    ]
    """<p>The time it took for a contact to end after the last customer message.</p>"""
    conversation_turn_count: NotRequired["capo_connect.types.count.Count"]
    """<p>The number of conversation turns in a chat contact, which represents the back-and-forth exchanges between customer and other participants.</p>"""
    agent_first_response_timestamp: NotRequired[
        "capo_connect.types.timestamp.Timestamp"
    ]
    """<p>The agent first response timestamp for a chat contact.</p>"""
    agent_first_response_time_in_millis: NotRequired[
        "capo_connect.types.duration_millis.DurationMillis"
    ]
    """<p>The time for an agent to respond after obtaining a chat contact.</p>"""

agent_first_response_time_in_millis instance-attribute

agent_first_response_time_in_millis: NotRequired[DurationMillis]

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

agent_first_response_timestamp instance-attribute

agent_first_response_timestamp: NotRequired[Timestamp]

The agent first response timestamp for a chat contact.

conversation_close_time_in_millis instance-attribute

conversation_close_time_in_millis: NotRequired[DurationMillis]

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

conversation_turn_count instance-attribute

conversation_turn_count: NotRequired[Count]

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

multi_party instance-attribute

multi_party: NotRequired[NullableBoolean]

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

total_bot_message_length_in_chars instance-attribute

total_bot_message_length_in_chars: NotRequired[Count]

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

total_bot_messages instance-attribute

total_bot_messages: NotRequired[Count]

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

total_messages instance-attribute

total_messages: NotRequired[Count]

The number of chat messages on the contact.