Skip to main content

@dialstack/sdk-dev / js/src / TranscriptUtterance

Interface: TranscriptUtterance

Defined in: sdk/js/src/types/components.ts:728

One stretch of one speaker's speech in a transcript. Times are seconds from the start of the recording (or voicemail) audio.

Properties​

end_seconds​

TypeScript
end_seconds: number;

Defined in: sdk/js/src/types/components.ts:732


speaker​

TypeScript
speaker: "local" | "remote";

Defined in: sdk/js/src/types/components.ts:730

local is the account's own user, remote the other party (always remote in a voicemail).


start_seconds​

TypeScript
start_seconds: number;

Defined in: sdk/js/src/types/components.ts:731


text​

TypeScript
text: string;

Defined in: sdk/js/src/types/components.ts:733