Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Transcript Class

Stores the conversation between customers and agents in written format, specifying the roles of the participants and their messages.

Namespace

DataRetrieval

Transcript Constructors

The Transcript class includes these constructors.

Transcript(role, message)

Creates an instance of the DataRetrieval.Transcript class by using specified parameters to store the role and message of the participants associated with a transcript.

Signature

public Transcript(String role, String message)

1DataRetrieval.Transcript, newinstance, [String, String], DataRetrieval.Transcript

Parameters

role
Type: String
Role of the participant in the conversation.
message
Type: String
Message exchanged during the conversation between a customer and an agent.

Transcript()

Creates an instance of the DataRetrieval.Transcript class.

Signature

public Transcript()

1DataRetrieval.Transcript, newinstance, [], DataRetrieval.Transcript