Skip to main content
Version: v2.10.1

Type: PlayerStateUpdateEvent

Represents an emitted event describing a specific change in the player's state.
This is a discriminated union of multiple event types, each with its own structure.

Property Type Description Optional
changeTypePlayerStateEventTypesDiscriminator indicating the type of state change.
detailsOne of:
TrackChangeEvent
PauseChangeEvent
QueueChangeEvent
ConnectionChangeEvent
AutoplayChangeEvent
ChannelChangeEvent
VolumeChangeEvent
RepeatChangeEvent
FilterChangeEvent
The payload object specific to the type of change.