feat: VideoVideo add fields
feat: VideoVideo add IsExplicit
feat: VideoVideo add MainArtists
feat: VideoVideo add Subtitle
feat: VideoVideo add ReleaseDate
feat: VideoVideo add Genres
feat: VideoVideo add IsSubscribed
feat: VideoVideo add FeaturedArtists
@@ -12,6 +12,9 @@ type VideoVideo struct {
// Date when the video has been added in Unixtime.
AddingDate int `json:"adding_date"`
+ // Date when the video has been released in Unixtime.
+ ReleaseDate int `json:"release_date"`
+
// Information whether current user can add the video.
CanAdd BaseBoolInt `json:"can_add"`
@@ -33,6 +36,8 @@ type VideoVideo struct {
CanAttachLink BaseBoolInt `json:"can_attach_link"`
IsFavorite BaseBoolInt `json:"is_favorite"`
IsPrivate BaseBoolInt `json:"is_private"`
+ IsExplicit BaseBoolInt `json:"is_explicit"`
+ IsSubscribed BaseBoolInt `json:"is_subscribed"`
Added BaseBoolInt `json:"added"`
Repeat BaseBoolInt `json:"repeat"` // Information whether the video is repeated
ContentRestricted int `json:"content_restricted"`
@@ -59,6 +64,7 @@ type VideoVideo struct {
Player string `json:"player"`
Processing int `json:"processing"` // Returns if the video is processing
Title string `json:"title"` // Video title
+ Subtitle string `json:"subtitle"` // Video subtitle
Type string `json:"type"`
Views int `json:"views"` // Number of views
Width int `json:"width"` // Video width
@@ -72,6 +78,9 @@ type VideoVideo struct {
ActionButton VideoActionButton `json:"action_button"`
Restriction VideoRestriction `json:"restriction"`
ContentRestrictedMessage string `json:"content_restricted_message"`
+ MainArtists []AudioAudioArtist `json:"main_artists"`
+ FeaturedArtists []AudioAudioArtist `json:"featured_artists"`
+ Genres []BaseObjectWithName `json:"genres"`
}
// ToAttachment return attachment format.
