File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Infrastructure/BotSharp.Abstraction/Google Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ namespace BotSharp.Abstraction.Google.Models;
3
3
public class GoogleVideoResult
4
4
{
5
5
public string Kind { get ; set ; }
6
- public IList < VideoItem > Items { get ; set ; } = new List < VideoItem > ( ) ;
6
+ public List < VideoItem > Items { get ; set ; } = new List < VideoItem > ( ) ;
7
7
}
8
8
9
9
public class VideoItem
@@ -25,6 +25,7 @@ public class VideoSnippet
25
25
{
26
26
public string Title { get ; set ; }
27
27
public string Description { get ; set ; }
28
+ public string ChannelId { get ; set ; }
28
29
public string ChannelTitle { get ; set ; }
29
30
public VideoThumbnails Thumbnails { get ; set ; }
30
31
}
Original file line number Diff line number Diff line change @@ -19,4 +19,5 @@ public class YoutubeSettings
19
19
public string Endpoint { get ; set ; }
20
20
public string Part { get ; set ; }
21
21
public string RegionCode { get ; set ; }
22
+ public IList < string > Channels { get ; set ; }
22
23
}
Original file line number Diff line number Diff line change 229
229
"Youtube" : {
230
230
"Endpoint" : " https://www.googleapis.com/youtube/v3/search" ,
231
231
"RegionCode" : " US" ,
232
- "Part" : " id,snippet"
232
+ "Part" : " id,snippet" ,
233
+ "Channels" : []
233
234
}
234
235
},
235
236
You can’t perform that action at this time.
0 commit comments