Table of Contents

Class RestVoiceRegion

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

Represents a REST-based voice region.

public class RestVoiceRegion : RestEntity<string>, IEntity<string>, IVoiceRegion
Inheritance
RestVoiceRegion
Implements
Inherited Members

Properties

IsCustom

Gets a value that indicates whether this voice region is custom-made for events.

public bool IsCustom { get; }

Property Value

bool

true if this is a custom voice region (used for events/etc); otherwise false/

IsDeprecated

Gets a value that indicates whether this voice region is no longer being maintained.

public bool IsDeprecated { get; }

Property Value

bool

true if this is a deprecated voice region; otherwise false.

IsOptimal

Gets a value that indicates whether this voice region is optimal for your client in terms of latency.

public bool IsOptimal { get; }

Property Value

bool

true if this voice region is the closest to your machine; otherwise false .

IsVip

Gets a value that indicates whether or not this voice region is exclusive to partnered servers.

public bool IsVip { get; }

Property Value

bool

true if this voice region is exclusive to VIP accounts; otherwise false.

Name

Gets the name of this voice region.

public string Name { get; }

Property Value

string

A string that represents the human-readable name of this voice region (e.g. Central Europe).

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.