Interface: QueueChangeEvent
The event emitted when the queue of the player is modified. This includes adding, removing, shuffling, or clearing tracks.
Property Type Description Optional typestring = "queue" The event type identifier. Always "queue"for this event.actionstring = "add" | "remove" | "clear" | "shuffle" | "roundRobin" | "userBlock" | "autoPlayAdd" Describes the specific queue-related action that triggered the event. previousQueueLengthnumber | null The length of the queue before the event occurred. currentQueueLengthnumber | null The current length of the queue after the event. tracksTrack[]Array of affected tracks in this event. Only provided for specific actions like "add".