Class RestVoiceRegion
Represents a REST-based voice region.
Inherited Members
Namespace: Discord.Rest
Assembly: Discord.Net.Rest.dll
Syntax
public class RestVoiceRegion : RestEntity<string>, IEntity<string>, IVoiceRegion
Properties
| Improve this Doc View SourceIsCustom
Gets a value that indicates whether this voice region is custom-made for events.
Declaration
public bool IsCustom { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
IsDeprecated
Gets a value that indicates whether this voice region is no longer being maintained.
Declaration
public bool IsDeprecated { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
IsOptimal
Gets a value that indicates whether this voice region is optimal for your client in terms of latency.
Declaration
public bool IsOptimal { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
IsVip
Gets a value that indicates whether or not this voice region is exclusive to partnered servers.
Declaration
public bool IsVip { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Name
Gets the name of this voice region.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A string that represents the human-readable name of this voice region (e.g. |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |