The id of the discord.GuildVoiceChannel. If null
, it indicates the user has disconnected from voice.
true
if the user has been server-deafened.
They will not be sent any voice data from other users if deafened.
The guild id this voice state is targeting.
A reference to the discord.GuildMember this voice state applies to.
true
if the user has been server-muted.
They will not transmit voice data if muted.
The time at which the user requested to speak (used for GUILD_STAGE_VOICE channel hand-raising).
Note: The timestamp is in ISO-8601 UTC format (YYYY-MM-DDTHH:mm:ss
).
`true if the user has opted to deafen themselves via the client.
They will not receive or be sent any voice data from other users if deafened.
true
if the user has opted to mute their microphone via the client.
They will not transmit voice audio if they are self-muted.
true
if the user is currently streaming to the channel using Go Live.
true
if the user's camera is enabled.
The session id associated with this user's voice connection.
true
if the user is muted by the current user.
The id of the discord.User this voice state applies to.
Updates a voice state with the options provided. Only valid for voice states in Guild Stage Voice channels.
If channelId
is not null, will fetch the channel data associated with this voice state.
Fetches data for the guild associated with this voice state.
Generated using TypeDoc
A class representing a user's voice state.