From 6d3df90becb2382738b0cd7ae714c4adcbf084d5 Mon Sep 17 00:00:00 2001 From: Richard Szalay Date: Wed, 20 May 2026 13:43:59 +1000 Subject: [PATCH 1/2] Fix SpeechStartedResponse.Channel mapped property --- Deepgram/Models/Listen/v1/WebSocket/SpeechStartedResponse.cs | 2 +- Deepgram/Models/Listen/v2/WebSocket/SpeechStartedResponse.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Deepgram/Models/Listen/v1/WebSocket/SpeechStartedResponse.cs b/Deepgram/Models/Listen/v1/WebSocket/SpeechStartedResponse.cs index 92dd6309..b292bef0 100644 --- a/Deepgram/Models/Listen/v1/WebSocket/SpeechStartedResponse.cs +++ b/Deepgram/Models/Listen/v1/WebSocket/SpeechStartedResponse.cs @@ -18,7 +18,7 @@ public record SpeechStartedResponse /// Channel index information /// [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("channel_index")] + [JsonPropertyName("channel")] public int[]? Channel { get; set; } /// diff --git a/Deepgram/Models/Listen/v2/WebSocket/SpeechStartedResponse.cs b/Deepgram/Models/Listen/v2/WebSocket/SpeechStartedResponse.cs index 046faf4f..7df2ee74 100644 --- a/Deepgram/Models/Listen/v2/WebSocket/SpeechStartedResponse.cs +++ b/Deepgram/Models/Listen/v2/WebSocket/SpeechStartedResponse.cs @@ -18,7 +18,7 @@ public record SpeechStartedResponse /// Channel index information /// [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("channel_index")] + [JsonPropertyName("channel")] public int[]? Channel { get; set; } /// From eacd06675c569d94107cb93d5559d0e1fee1fbca Mon Sep 17 00:00:00 2001 From: Richard Szalay Date: Thu, 21 May 2026 20:28:12 +1000 Subject: [PATCH 2/2] Fix UtteranceEndResponse.Channel mapped property --- Deepgram/Models/Listen/v1/WebSocket/UtteranceEndResponse.cs | 2 +- Deepgram/Models/Listen/v2/WebSocket/UtteranceEndResponse.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Deepgram/Models/Listen/v1/WebSocket/UtteranceEndResponse.cs b/Deepgram/Models/Listen/v1/WebSocket/UtteranceEndResponse.cs index 89bf6748..d1d6ca8d 100644 --- a/Deepgram/Models/Listen/v1/WebSocket/UtteranceEndResponse.cs +++ b/Deepgram/Models/Listen/v1/WebSocket/UtteranceEndResponse.cs @@ -18,7 +18,7 @@ public record UtteranceEndResponse /// Channel index information /// [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("channel_index")] + [JsonPropertyName("channel")] public int[]? Channel { get; set; } /// diff --git a/Deepgram/Models/Listen/v2/WebSocket/UtteranceEndResponse.cs b/Deepgram/Models/Listen/v2/WebSocket/UtteranceEndResponse.cs index ab5a3ac2..c6b251a6 100644 --- a/Deepgram/Models/Listen/v2/WebSocket/UtteranceEndResponse.cs +++ b/Deepgram/Models/Listen/v2/WebSocket/UtteranceEndResponse.cs @@ -18,7 +18,7 @@ public record UtteranceEndResponse /// Channel index information /// [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("channel_index")] + [JsonPropertyName("channel")] public int[]? Channel { get; set; } ///