Class: PlaylistCompact
Represents a Compact Playlist (e.g. from search result, related of a video)
Hierarchy
↳
PlaylistCompact
Implements
PlaylistCompactProperties
Properties
channel
• Optional
channel: BaseChannel
The channel that made this playlist
Implementation of
PlaylistCompactProperties.channel
client
• client: Client
An instance of Client
Implementation of
PlaylistCompactProperties.client
Inherited from
id
• id: string
Implementation of
PlaylistCompactProperties.id
thumbnails
• thumbnails: Thumbnails
Thumbnails of the playlist with different sizes
Implementation of
PlaylistCompactProperties.thumbnails
title
• title: string
The playlist's title
Implementation of
PlaylistCompactProperties.title
videoCount
• videoCount: number
How many videos in this playlist
Implementation of
PlaylistCompactProperties.videoCount
Methods
getPlaylist
▸ getPlaylist(): Promise
<Playlist
>
Get Playlist object based on current playlist id
Equivalent to
client.getPlaylist(playlistCompact.id);
Returns
Promise
<Playlist
>