Discolink
    Preparing search index...

    Interface PlayerUpdateTrackData<UserData>

    interface PlayerUpdateTrackData<UserData extends JsonObject = EmptyObject> {
        encoded?: string | null;
        identifier?: string;
        userData?: UserData;
    }

    Type Parameters

    Index

    Properties

    encoded?: string | null

    The base64 encoded track to play. null stops the current track. encoded and identifier are mutually exclusive.

    identifier?: string

    The identifier of the track to play. encoded and identifier are mutually exclusive.

    userData?: UserData

    Additional track data to be sent back in the Track Object