VoiceState class

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

Properties

channel Cacheable<Snowflake, IChannel>?
Channel id user is connected
latefinal
deaf bool
Whether this user is muted by the server
latefinal
guild Cacheable<Snowflake, Guild>?
Guild this voice state update is
latefinal
hashCode int
The hash code for this object.
no setterinherited
requestToSpeakTimeStamp DateTime?
The time at which the user requested to speak
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selfDeaf bool
Whether this user is locally deafened
latefinal
selfMute bool
Whether this user is locally muted
latefinal
selfStream bool
Whether this user is streaming using "Go Live"
latefinal
selfVideo bool
Whether this user's camera is enabled
latefinal
sessionId String
Session id for this voice state
latefinal
suppress bool
Whether this user is muted by the current user
latefinal
user Cacheable<Snowflake, User>
User this voice state is for
latefinal

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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