Table of Contents

Class TranscriptionResult

Namespace
Vonage.Voice
Assembly
Vonage.dll

Represents the complete transcription result from a voice call recording, containing all channels and their transcripts.

public record TranscriptionResult : IEquatable<TranscriptionResult>
Inheritance
TranscriptionResult
Implements
Inherited Members

Constructors

TranscriptionResult(string, Guid, IReadOnlyList<Channel>)

Represents the complete transcription result from a voice call recording, containing all channels and their transcripts.

public TranscriptionResult(string Version, Guid RequestId, IReadOnlyList<Channel> Channels)

Parameters

Version string

The version of the transcription format.

RequestId Guid

The unique identifier for the transcription request.

Channels IReadOnlyList<Channel>

The list of audio channels, each containing transcript segments.

Properties

Channels

The list of audio channels, each containing transcript segments.

[JsonProperty("channels")]
[JsonPropertyName("channels")]
public IReadOnlyList<Channel> Channels { get; init; }

Property Value

IReadOnlyList<Channel>

RequestId

The unique identifier for the transcription request.

[JsonProperty("request_id")]
[JsonPropertyName("request_id")]
public Guid RequestId { get; init; }

Property Value

Guid

Version

The version of the transcription format.

[JsonProperty("ver")]
[JsonPropertyName("ver")]
public string Version { get; init; }

Property Value

string

Methods

ExtractTranscripts()

Extracts the full transcript text from each channel as a collection of strings.

public IEnumerable<string> ExtractTranscripts()

Returns

IEnumerable<string>

An enumerable of transcript strings, one per channel.