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 for updates when already in channel. |
| guild_id | Snowflake | Guild ID. |
| 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). |