Table of Contents

Class DiscordVoiceRegion

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents information about a Discord voice server region.

public class DiscordVoiceRegion : ObservableApiObject
Inheritance
DiscordVoiceRegion
Inherited Members

Properties

Id

Gets the unique ID for the region.

IsCustom

Gets whether this is a custom voice region.

IsDeprecated

Gets whether this voice region is deprecated.

IsOptimal

Gets whether this region is the most optimal for the current user.

Name

Gets the name of the region.

SampleHostname

Gets an example server hostname for this region.

SamplePort

Gets an example server port for this region.

Methods

Equals(DiscordVoiceRegion)

Gets whether two DiscordVoiceRegions are equal.

Equals(object)

Whether two regions are equal.

GetHashCode()

Gets the hash code.

Operators

operator ==(DiscordVoiceRegion, DiscordVoiceRegion)

Gets whether the two DiscordVoiceRegion objects are equal.

operator !=(DiscordVoiceRegion, DiscordVoiceRegion)

Gets whether the two DiscordVoiceRegion objects are not equal.