Class DiscordVoiceState
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Represents a Discord voice state.
public class DiscordVoiceState
- Inheritance
-
objectDiscordVoiceState
Properties
- Channel
Gets the channel this user is connected to.
- Guild
Gets the guild associated with this voice state.
- IsSelfDeafened
Gets whether this user is locally deafened.
- IsSelfMuted
Gets whether this user is locally muted.
- IsSelfStream
Gets whether this user is using the Go Live feature.
- IsSelfVideo
Gets whether this user's camera is enabled.
- IsServerDeafened
Gets whether this user is deafened.
- IsServerMuted
Gets whether this user is muted.
- IsSuppressed
Gets whether the current user has suppressed this user.
- Member
Gets the member this voice state belongs to.
- RequestToSpeakTimestamp
Gets the time at which this user requested to speak.
- SessionId
Gets ID of the session of this voice state.
- User
Gets the user associated with this voice state.
This can be cast to a DiscordMember if this voice state was in a guild.
Methods
- ToString()
Returns a string that represents the current object.