Skip to content

VoiceState = Omit<w.voiceTypes.VoiceState, "positionMs" | "durationMs"> & object

Defined in: sdk/js/src/voice.ts:20

Where the bot is and what it plays. positionMs and durationMs are numbers here (the WIT u64s, converted); durationMs is undefined for live streams and pushed audio.

durationMs: number | undefined

positionMs: number