feat!: add handle to ChannelItem, remove video_count

This commit is contained in:
ThetaDev 2024-08-17 02:59:56 +02:00
parent e6715700d9
commit 1cffb27cc0
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6
5 changed files with 28 additions and 30 deletions

View file

@ -870,6 +870,8 @@ pub struct ChannelItem {
pub id: String,
/// Channel name
pub name: String,
/// YouTube channel handle (e.g. `@EEVblog`)
pub handle: Option<String>,
/// Channel avatar/profile picture
pub avatar: Vec<Thumbnail>,
/// Channel verification mark
@ -878,8 +880,6 @@ pub struct ChannelItem {
///
/// [`None`] if hidden by the owner or not present.
pub subscriber_count: Option<u64>,
/// Number of videos from the channel
pub video_count: Option<u64>,
/// Abbreviated channel description
pub short_description: String,
}