SerializedTrackData
Public Track 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/track-types.ts:130type SerializedTrackDataPublic Track fields stored by the versioned persistence format.
Properties
sourceReferenceoptional
sourceReference?: ProviderReferenceOptional provider identity, absent in older version 1 payloads.
lyricsReferenceoptional
lyricsReference?: ProviderReferenceOptional portable lyrics provider affinity.
id
id: stringStable Track identifier.
title
title: stringDisplay title.
description
description: stringTrack description.
url
url: stringSource page URL.
thumbnail
thumbnail: stringThumbnail URL.
durationMS
durationMS: numberDuration in milliseconds.
views
views: numberView or play count when available.
requestedBy
requestedBy: string | nullPortable requester identity, or null when unknown.
source
source: stringProvider-defined source identifier.
live
live: booleanWhether the Track is a live stream.
metadata
metadata: JSONValue | nullJSON-safe application metadata, or null when absent.