# VoiceState

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

Defined in: [sdk/js/src/voice.ts:20](https://github.com/zaunchat/zaun-bot/blob/main/sdk/js/src/voice.ts#L20)

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

## Type Declaration

### durationMs

> **durationMs**: `number` \| `undefined`

### positionMs

> **positionMs**: `number`
