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:
-
Interaction.Chat.getTranscript
For more information about the API, see https://developer.mypurecloud.com/api/embeddable-framework/actions/Interaction/Chat/Interaction.Chat.getTranscript.html