From 3fa64f7e8377f9fba069307c2f62aa2a0a3d297a Mon Sep 17 00:00:00 2001 From: DamienDeepgram <138720050+DamienDeepgram@users.noreply.github.com> Date: Thu, 28 Sep 2023 08:11:04 -0700 Subject: [PATCH] Deserialize speaker as an int not a string --- Deepgram/Models/Paragraph.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Deepgram/Models/Paragraph.cs b/Deepgram/Models/Paragraph.cs index dbfc5adc..0a89d80c 100644 --- a/Deepgram/Models/Paragraph.cs +++ b/Deepgram/Models/Paragraph.cs @@ -33,6 +33,6 @@ public class Paragraph /// Speaker of the paragraph /// [JsonProperty("speaker")] - public string Speaker { get; set; } + public int Speaker { get; set; } } }