Interface IVoiceState
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Represents a user's voice connection status.
public interface IVoiceState
Properties
IsDeafened
Gets a value that indicates whether this user is deafened by the guild.
bool IsDeafened { get; }
Property Value
- bool
true if the user is deafened (i.e. not permitted to listen to or speak to others) by the guild; otherwise false.
IsMuted
Gets a value that indicates whether this user is muted (i.e. not permitted to speak via voice) by the guild.
bool IsMuted { get; }
Property Value
IsSelfDeafened
Gets a value that indicates whether this user has marked themselves as deafened.
bool IsSelfDeafened { get; }
Property Value
- bool
true if this user has deafened themselves (i.e. not permitted to listen to or speak to others); otherwise false.
IsSelfMuted
Gets a value that indicates whether this user has marked themselves as muted (i.e. not permitted to speak via voice).
bool IsSelfMuted { get; }
Property Value
IsStreaming
Gets a value that indicates if this user is streaming in a voice channel.
bool IsStreaming { get; }
Property Value
IsSuppressed
Gets a value that indicates whether the user is muted by the current user.
bool IsSuppressed { get; }
Property Value
IsVideoing
Gets a value that indicates if the user is videoing in a voice channel.
bool IsVideoing { get; }
Property Value
RequestToSpeakTimestamp
Gets the time on which the user requested to speak.
DateTimeOffset? RequestToSpeakTimestamp { get; }
Property Value
VoiceChannel
Gets the voice channel this user is currently in.
IVoiceChannel VoiceChannel { get; }
Property Value
- IVoiceChannel
A generic voice channel object representing the voice channel that the user is currently in; null if none.
VoiceSessionId
Gets the unique identifier for this user's voice session.
string VoiceSessionId { get; }