Interface

GatewayVoiceStateUpdateData

Voice state update payload (opcode 4) — join/leave/mute/deaf.

Properties

NameTypeDescription
channel_idSnowflake | nullChannel ID (null to disconnect).
connection_id?string | nullConnection 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 | nullGuild ID. Null/omitted for private call placement.
mutation_id?stringClient-generated id echoed on VOICE_STATE_ACK. Guild placement failures are only dispatched when this is set.
self_deaf?booleanWhether self-deafened.
self_mute?booleanWhether self-muted.
self_stream?booleanWhether the user is screen sharing / streaming.
self_video?booleanWhether the user has video enabled (e.g. camera).