Interface
GatewayVoiceStateUpdateData
Voice state update payload (opcode 4) — join/leave/mute/deaf.
Properties
| Name | Type | Description |
|---|---|---|
| channel_id | Snowflake | null | Channel ID (null to disconnect). |
| connection_id? | string | null | Connection ID from VoiceServerUpdate. Required to update or leave a guild connection. Leaving a guild with channel_id: null and no connection_id is refused (VOICE_MISSING_CONNECTION_ID). |
| guild_id? | Snowflake | null | Guild ID. Null/omitted for private call placement. |
| mutation_id? | string | Client-generated id echoed on VOICE_STATE_ACK. Guild placement failures are only dispatched when this is set. |
| self_deaf? | boolean | Whether self-deafened. |
| self_mute? | boolean | Whether self-muted. |
| self_stream? | boolean | Whether the user is screen sharing / streaming. |
| self_video? | boolean | Whether the user has video enabled (e.g. camera). |