Skip to content

VoiceManager

@vimp-mp/types 2.0.1

Interface · Server API

Creates and looks up server-owned voice channels.

ts
interface VoiceManager

Members

channels

ts
readonly channels: Array<VoiceChannel>

Snapshot of all active voice channels.

createChannel

ts
createChannel(name: string, options?: VoiceChannelCreateOptions): VoiceChannel | null

Creates a voice channel, or returns null if creation fails.

getChannelById

ts
getChannelById(id: number): VoiceChannel | null

Returns the channel with id, or null when it does not exist.

VIMP developer documentation