Table of Contents

Class DiscordVoiceState

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents a Discord voice state.

public class DiscordVoiceState : ObservableApiObject
Inheritance
DiscordVoiceState
Inherited Members

Properties

Channel

Gets the channel this user is connected to.

ChannelId

Gets ID of the channel this user is connected to.

Discoverable

Gets whether the voice state is discoverable through user activities.

Guild

Gets the guild associated with this voice state.

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.

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.

UserId

Gets ID of the user to which this voice state belongs.

Methods

ToString()

Gets a readable voice state string.