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