VoiceState class

Used to represent a user"s voice connection status. If channel is null, it means that user left channel.

Properties

channel CacheVoiceChannel
Channel id user is connected
read / write
deaf bool
Whether this user is muted by the server
read / write, final, late
guild Guild
Guild this voice state update is
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
selfDeaf bool
Whether this user is locally deafened
read / write, final, late
selfMute bool
Whether this user is locally muted
read / write, final, late
sessionId String
Session id for this voice state
read / write, final, late
suppress bool
Whether this user is muted by the current user
read / write, final, late
user User
User this voice state is for
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited