add channel

This commit is contained in:
Jicheng Lu 2024-04-03 14:51:07 -05:00
parent c10b8d4885
commit 093663d436
2 changed files with 3 additions and 1 deletions

View file

@ -3,7 +3,7 @@ namespace BotSharp.Abstraction.Google.Models;
public class GoogleVideoResult
{
public string Kind { get; set; }
public IList<VideoItem> Items { get; set; } = new List<VideoItem>();
public List<VideoItem> Items { get; set; } = new List<VideoItem>();
}
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; }
}

View file

@ -19,4 +19,5 @@ public class YoutubeSettings
public string Endpoint { get; set; }
public string Part { get; set; }
public string RegionCode { get; set; }
public IList<string> Channels { get; set; }
}