Class SocketVoiceServer
Represents a WebSocket-based voice server.
Namespace: Discord.WebSocket
Assembly: Discord.Net.WebSocket.dll
Syntax
public class SocketVoiceServer : object
Properties
| Improve this Doc View SourceEndpoint
Gets the endpoint URL of the voice server host.
Declaration
public string Endpoint { get; }
Property Value
Type | Description |
---|---|
String | An URL representing the voice server host. |
Guild
Gets the guild associated with the voice server.
Declaration
public Cacheable<IGuild, ulong> Guild { get; }
Property Value
Type | Description |
---|---|
Cacheable<IGuild, UInt64> | A cached entity of the guild. |
Token
Gets the voice connection token.
Declaration
public string Token { get; }
Property Value
Type | Description |
---|---|
String | A voice connection token. |