Discord Player

SerializedPlaylistData

Public Playlist fields stored by the versioned persistence format.

You are reading the v8 docsDev
Type AliasTypeScript@discord-player/plugin-host
View sourcepackages/plugin-host/src/structures/playlist.ts:71
type SerializedPlaylistData

Public Playlist fields stored by the versioned persistence format.

Properties

id

id: string

Stable source playlist identifier.

url

url: string

Source page URL.

title

title: string

Display title.

description

description: string

Playlist description.

thumbnail

thumbnail: string

Thumbnail URL.

type

type: "album" | "playlist"

Album or playlist classification.

source

source: TrackSource

Source name.

author

author: {
  name: string;
  url: string;
}

Playlist author name and source URL.

tracks

tracks: SerializedTrack[]

Serialized Tracks in playlist order, without parent references.

On this page