Classes

Track

Class representing a Hoshimi track.

Signature

export declare class Track implements LavalinkTrack

JSDoc

@classTrack@implementsLavalinkTrack

Properties

readonly encoded: string;

The base64 encoded track.

@type{string}

Methods

toJSON(): TrackJSON;

Converts the track to a JSON object for storage.

Returns

The JSON representation of the track for storage.