VoiceManager class
A manager for VoiceStates.
Constructors
- VoiceManager(NyxxRest client)
- Create a new VoiceManager.
Properties
-
cache
→ Cache<
VoiceState> -
The cache for voice states.
final
- client → NyxxRest
-
The client this manager belongs to.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
listRegions(
) → Future< List< VoiceRegion> > - List all the available voice regions.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseVoiceRegion(
Map< String, Object?> raw) → VoiceRegion - Parse a VoiceRegion from a Map.
-
parseVoiceState(
Map< String, Object?> raw, {Snowflake? guildId}) → VoiceState - Parse a VoiceState from a Map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited