@wildix/wda-history-client > GetCallTranscriptionTextCommand
GetCallTranscriptionTextCommand class
Signature:
export declare class GetCallTranscriptionTextCommand extends GetCallTranscriptionTextCommand_base
Extends: GetCallTranscriptionTextCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { WdaHistoryClient, GetCallTranscriptionTextCommand } from "@wildix/wda-history-client"; // ES Modules import
// const { WdaHistoryClient, GetCallTranscriptionTextCommand } = require("@wildix/wda-history-client"); // CommonJS import
const client = new WdaHistoryClient(config);
const input = { // GetCallTranscriptionTextInput
company: "STRING_VALUE",
callId: "STRING_VALUE", // required
flowIndex: Number("int"), // required
};
const command = new GetCallTranscriptionTextCommand(input);
const response = await client.send(command);
// { // GetCallTranscriptionTextOutput
// filename: "STRING_VALUE", // required
// text: "STRING_VALUE", // required
// chunks: [ // TranscriptionTextChunkList // required
// { // TranscriptionTextChunk
// id: "STRING_VALUE", // required
// name: "STRING_VALUE", // required
// text: "STRING_VALUE", // required
// time: "STRING_VALUE", // required
// offset: Number("int"), // required
// },
// ],
// };