From 093663d436032d8c0f4dd7102c1b0dd7f87de497 Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Wed, 3 Apr 2024 14:51:07 -0500 Subject: [PATCH] add channel --- .../BotSharp.Abstraction/Google/Models/GoogleVideoResult.cs | 3 ++- .../BotSharp.Abstraction/Google/Settings/GoogleApiSettings.cs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Infrastructure/BotSharp.Abstraction/Google/Models/GoogleVideoResult.cs b/src/Infrastructure/BotSharp.Abstraction/Google/Models/GoogleVideoResult.cs index 442290aa..49e50c30 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Google/Models/GoogleVideoResult.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Google/Models/GoogleVideoResult.cs @@ -3,7 +3,7 @@ namespace BotSharp.Abstraction.Google.Models; public class GoogleVideoResult { public string Kind { get; set; } - public IList Items { get; set; } = new List(); + public List Items { get; set; } = new List(); } public class VideoItem @@ -25,6 +25,7 @@ public class VideoSnippet { public string Title { get; set; } public string Description { get; set; } + public string ChannelId { get; set; } public string ChannelTitle { get; set; } public VideoThumbnails Thumbnails { get; set; } } diff --git a/src/Infrastructure/BotSharp.Abstraction/Google/Settings/GoogleApiSettings.cs b/src/Infrastructure/BotSharp.Abstraction/Google/Settings/GoogleApiSettings.cs index be7ef6a2..dfa66f60 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Google/Settings/GoogleApiSettings.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Google/Settings/GoogleApiSettings.cs @@ -19,4 +19,5 @@ public class YoutubeSettings public string Endpoint { get; set; } public string Part { get; set; } public string RegionCode { get; set; } + public IList Channels { get; set; } } \ No newline at end of file