Table of Contents

Class DiscordVoiceState

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Represents a Discord voice state.

public class DiscordVoiceState
Inheritance
object
DiscordVoiceState

Properties

ChannelId

Gets ID of the channel this user is connected to.

GuildId

Gets ID of the guild this voice state is associated with.

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.

RequestToSpeakTimestamp

Gets the time at which this user requested to speak.

SessionId

Gets ID of the session of this voice state.

Methods

GetChannelAsync(bool)

Gets the channel associated with this voice state.

GetGuildAsync(bool)

Gets the guild associated with this voice state.

GetUserAsync(bool)

Gets the member associated with this voice state.

ToString()

Returns a string that represents the current object.