channel.go
575 bytes
1package models
2
3type Channel struct {
4 // YouTube ID of the channel
5 ID string `json:"channel_id"`
6 // Name of the channel
7 Name string `json:"name"`
8 // Subscribed indicates if the user is subscribed to this channel
9 Subscribed bool `json:"subscribed"`
10 // UnwatchedCount is the number of unwatched videos from this channel
11 UnwatchedCount int `json:"unwatched_count"`
12 // ImageURL is the URL of the channel's profile image
13 ImageURL string `json:"image_url"`
14 // EnableShorts indicates if shorts should be shown for this channel
15 EnableShorts bool `json:"enable_shorts"`
16}