Module Values_0.ChatContactMetricsSource

Information about the overall participant interactions at the contact level.

Sourcetype nonrec t = {
  1. multiParty : NullableBoolean.t option;
    (*

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

    *)
  2. totalMessages : Count.t option;
    (*

    The number of chat messages on the contact.

    *)
  3. totalBotMessages : Count.t option;
    (*

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

    *)
  4. totalBotMessageLengthInChars : Count.t option;
    (*

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

    *)
  5. conversationCloseTimeInMillis : DurationMillis.t option;
    (*

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

    *)
  6. conversationTurnCount : Count.t option;
    (*

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

    *)
  7. agentFirstResponseTimestamp : string option;
    (*

    The agent first response timestamp for a chat contact.

    *)
  8. agentFirstResponseTimeInMillis : DurationMillis.t option;
    (*

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

    *)
}
Sourceval make : ?multiParty:??? -> ?totalMessages:??? -> ?totalBotMessages:??? -> ?totalBotMessageLengthInChars:??? -> ?conversationCloseTimeInMillis:??? -> ?conversationTurnCount:??? -> ?agentFirstResponseTimestamp:??? -> ?agentFirstResponseTimeInMillis:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of NullableBoolean.t | `Integer of Count.t | `Long of DurationMillis.t | `Timestamp of string ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t