diff --git a/src/Infrastructure/BotSharp.Abstraction/Google/Models/GoogleVideoResult.cs b/src/Infrastructure/BotSharp.Abstraction/Google/Models/GoogleVideoResult.cs index 442290aaa..49e50c304 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 be7ef6a24..dfa66f604 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 diff --git a/src/WebStarter/appsettings.json b/src/WebStarter/appsettings.json index 0db89cbde..83b870b72 100644 --- a/src/WebStarter/appsettings.json +++ b/src/WebStarter/appsettings.json @@ -229,7 +229,8 @@ "Youtube": { "Endpoint": "https://www.googleapis.com/youtube/v3/search", "RegionCode": "US", - "Part": "id,snippet" + "Part": "id,snippet", + "Channels": [] } },