Interface IVoiceState
Represents a user's voice connection status.
Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public interface IVoiceState
Properties​
IsDeafened​
Gets a value that indicates whether this user is deafened by the guild.
View Source​
Declaration
bool IsDeafened { get; }
IsMuted​
Gets a value that indicates whether this user is muted (i.e. not permitted to speak via voice) by the guild.
View Source​
Declaration
bool IsMuted { get; }
IsSelfDeafened​
Gets a value that indicates whether this user has marked themselves as deafened.
View Source​
Declaration
bool IsSelfDeafened { get; }
IsSelfMuted​
Gets a value that indicates whether this user has marked themselves as muted (i.e. not permitted to speak via voice).
View Source​
Declaration
bool IsSelfMuted { get; }
IsSuppressed​
Gets a value that indicates whether the user is muted by the current user.
View Source​
Declaration
bool IsSuppressed { get; }
VoiceChannel​
Gets the voice channel this user is currently in.
View Source​
Declaration
IVoiceChannel VoiceChannel { get; }
VoiceSessionId​
Gets the unique identifier for this user's voice session.
View Source​
Declaration
string VoiceSessionId { get; }
IsStreaming​
Gets a value that indicates if this user is streaming in a voice channel.
View Source​
Declaration
bool IsStreaming { get; }
RequestToSpeakTimestamp​
Gets the time on which the user requested to speak.
View Source​
Declaration
DateTimeOffset? RequestToSpeakTimestamp { get; }