Genesys Cloud Developer Forum

PureCloud Embeddable Framework - Updated the format of the Interaction.Chat.getTranscript object

Category: API, Integrations, Embeddable Framework

Summary: We updated the format of the Interaction.Chat.getTranscript object to use a callback function.

Context: The previous format will stop working on or after the Date of Change. Developers should change their applications to use the updated format.

Previous format

Interaction: {
    ...,
    Chat: {
        getTranscript (
            "1234-1234-1234-1234",
            function (data) {
                var messageArray = data.messages;
            }
        )
   }
}

Updated format

Interaction: {
    ...,
    Chat: {
        getTranscript: function ({
            interactionId: "1234-1234-1234-1234",
            callback: function (data) {}
        })
    }
}

Impact: After the Date of Change, the previous format will no longer work.

Date of Change: On or after March 30, 2020

Impacted APIs:

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.