Skip to content

VoiceChannelChangePayload

@vimp-mp/types 2.0.1

Interface · Shared types API

Describes a player's transition between active voice channels.

ts
interface VoiceChannelChangePayload

Members

newChannelId

ts
newChannelId: number | null

Newly active channel, or null when the selection was cleared.

oldChannelId

ts
oldChannelId: number | null

Previously active channel, or null when none was selected.

playerId

ts
playerId: number

Server-assigned identifier of the affected player.

VIMP developer documentation