createCurrentPlayback src/structures/Player.ts#L30
Create the current playback structure.
const currentPlayback = createCurrentPlayback(client, fetchedData);
Returns:
CurrentPlaybackParameters:
Name | Type | Description |
---|---|---|
client | Client | The spotify client. |
data | any | The data from the spotify api. |