VoiceManager class
Constructors
- VoiceManager(bool _isDeaf, bool _isMute, bool _isSelfMute, bool _isSelfDeaf, bool _hasVideo, bool? _hasStream, Snowflake? _channelId, Snowflake _memberId, Snowflake _guildId)
- VoiceManager.empty(bool deaf, bool mute, Snowflake memberId, Snowflake guildId)
-
factory
- VoiceManager.from(dynamic payload, Snowflake guildId)
-
factory
Properties
- channel → VoiceChannel?
-
no setter
- guild → Guild
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasStream → bool?
-
no setter
- hasVideo → bool
-
no setter
- isDeaf → bool
-
no setter
- isMute → bool
-
no setter
- isSelfDeaf → bool
-
no setter
- isSelfMute → bool
-
no setter
- member → GuildMember
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
disconnect(
) → Future< void> - Disconnects the user from a voice channel
-
move(
Snowflake channelId) → Future< void> - Moves a member from one voice channel to another
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setDeaf(
bool value) → Future< void> - Deafens or not a server member
-
setMute(
bool value) → Future< void> - Mutes or unmute a server member
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited