Discore
Show / Hide Table of Contents

Class DiscordVoiceState

Used to represent a user's voice connection status.

Inheritance
object
DiscordVoiceState
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Discore.Voice
Assembly: Discore.dll
Syntax
public class DiscordVoiceState

Constructors

Name Description
DiscordVoiceState(Snowflake?, Snowflake?, Snowflake, string, bool, bool, bool, bool, bool)

Properties

Name Description
ChannelId

Gets the ID of the voice channel the user is in (or null if they are not in a voice channel).

GuildId

Gets the ID of the guild this voice state is for.

IsSelfDeaf

Gets whether or not this user has deafened themself.

IsSelfMute

Gets whether or not this user has muted themself.

IsServerDeaf

Gets whether or not this user is server deaf.

IsServerMute

Gets whether or not this user is server mute.

IsSuppressed

Gets whether or not this user is muted by the active user connected to the API.

SessionId

Gets the current session ID of this voice state.

UserId

Gets the ID of the user this voice state is for.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX