Struct SocketVoiceState
Represents a WebSocket user's voice connection status.
Assembly: Discord.Net.WebSocket.dll
Syntax
public struct SocketVoiceState : IVoiceState
Fields
|
Improve this Doc
View Source
Default
Declaration
public static readonly SocketVoiceState Default
Field Value
Properties
|
Improve this Doc
View Source
IsDeafened
Declaration
public readonly bool IsDeafened { get; }
Property Value
|
Improve this Doc
View Source
IsMuted
Declaration
public readonly bool IsMuted { get; }
Property Value
|
Improve this Doc
View Source
IsSelfDeafened
Declaration
public readonly bool IsSelfDeafened { get; }
Property Value
|
Improve this Doc
View Source
IsSelfMuted
Declaration
public readonly bool IsSelfMuted { get; }
Property Value
|
Improve this Doc
View Source
IsStreaming
Declaration
public readonly bool IsStreaming { get; }
Property Value
|
Improve this Doc
View Source
IsSuppressed
Declaration
public readonly bool IsSuppressed { get; }
Property Value
|
Improve this Doc
View Source
IsVideoing
Declaration
public readonly bool IsVideoing { get; }
Property Value
|
Improve this Doc
View Source
RequestToSpeakTimestamp
Declaration
public DateTimeOffset? RequestToSpeakTimestamp { readonly get; }
Property Value
Type |
Description |
Nullable<DateTimeOffset> |
|
|
Improve this Doc
View Source
VoiceChannel
Gets the voice channel that the user is currently in; or null if none.
Declaration
public readonly SocketVoiceChannel VoiceChannel { get; }
Property Value
|
Improve this Doc
View Source
VoiceSessionId
Declaration
public readonly string VoiceSessionId { get; }
Property Value
Methods
|
Improve this Doc
View Source
ToString()
Gets the name of this voice channel.
Declaration
public override string ToString()
Returns
Type |
Description |
String |
A string that resolves to name of this voice channel; otherwise "Unknown".
|
Explicit Interface Implementations
|
Improve this Doc
View Source
IVoiceState.VoiceChannel
Gets the voice channel this user is currently in.
Declaration
readonly IVoiceChannel IVoiceState.VoiceChannel { get; }
Returns
Type |
Description |
IVoiceChannel |
A generic voice channel object representing the voice channel that the user is currently in; null
if none.
|
Implements