Interface IVoiceState
Represents a user's voice connection status.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public interface IVoiceState
Properties
| Improve this Doc View SourceIsDeafened
Gets a value that indicates whether this user is deafened by the guild.
Declaration
bool IsDeafened { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
IsMuted
Gets a value that indicates whether this user is muted (i.e. not permitted to speak via voice) by the guild.
Declaration
bool IsMuted { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
IsSelfDeafened
Gets a value that indicates whether this user has marked themselves as deafened.
Declaration
bool IsSelfDeafened { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
IsSelfMuted
Gets a value that indicates whether this user has marked themselves as muted (i.e. not permitted to speak via voice).
Declaration
bool IsSelfMuted { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
IsStreaming
Gets a value that indicates if this user is streaming in a voice channel.
Declaration
bool IsStreaming { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
IsSuppressed
Gets a value that indicates whether the user is muted by the current user.
Declaration
bool IsSuppressed { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
IsVideoing
Gets a value that indicates if the user is videoing in a voice channel.
Declaration
bool IsVideoing { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
RequestToSpeakTimestamp
Gets the time on which the user requested to speak.
Declaration
DateTimeOffset? RequestToSpeakTimestamp { get; }
Property Value
Type | Description |
---|---|
Nullable<DateTimeOffset> |
VoiceChannel
Gets the voice channel this user is currently in.
Declaration
IVoiceChannel VoiceChannel { get; }
Property Value
Type | Description |
---|---|
IVoiceChannel | A generic voice channel object representing the voice channel that the user is currently in; |
VoiceSessionId
Gets the unique identifier for this user's voice session.
Declaration
string VoiceSessionId { get; }
Property Value
Type | Description |
---|---|
String |