getTranscriptByChatID
Returns the transcript of the chat with the chat id specified.
Parameters:
Name | Mandatory | Type | Description |
---|---|---|---|
chatId | yes | string | Unique chat identifier |
Returns:
Type | Description |
---|---|
JS Promise | A Javascript Promise that return an object containing the chat transcript. See Transcript Object |
Example:
LIVECHAT.getTranscriptByChatID("CHAT_97656d2c-28b4-41fc-af38-111066cefcaf")
.then(function(data){
console.log("Chat trasncript", data);
});