Skip to main content

ruvyrias / Exports / Track

Class: Track

Represents a track with its associated data.

Table of contents

Constructors

Properties

Constructors

constructor

new Track(data, requester?): Track

Parameters

NameType
dataTrackData
requester?any

Returns

Track

Defined in

src/Guild/Track.ts:94

Properties

info

info: TrackInfo

Info about the track

Defined in

src/Guild/Track.ts:88


pluginInfo

pluginInfo: null | PluginInfo

Additional track info provided by plugins

Defined in

src/Guild/Track.ts:90


track

track: null | string

The base64 encoded track data

Defined in

src/Guild/Track.ts:86


userData

userData: object

Additional track data provided via the Update Player endpoint

Defined in

src/Guild/Track.ts:92