UserContext: {
    displayName?: string;
    engagements: Engagement[];
    sessionParameters?: string;
}

Context data for the user containing the user's session details and existing active chat engagements.

Type declaration

  • Optional displayName?: string

    Display name of the customer

  • engagements: Engagement[]

    List of engagements initiated by user (may not be restricted to this device session)

  • Optional sessionParameters?: string

    Optional key/value session parameters for capturing properties of the user and the user's client device.