VoiceState class final

Constructors

VoiceState({required Snowflake serverId, required Snowflake? channelId, required Snowflake userId, required String? sessionId, required bool isDeaf, required bool isMute, required bool isSelfDeaf, required bool isSelfMute, required bool hasSelfVideo, required bool isSuppress, required DateTime? requestToSpeakTimestamp, required bool isDiscoverable})

Properties

channelId Snowflake?
final
hashCode int
The hash code for this object.
no setterinherited
hasSelfVideo bool
final
isDeaf bool
final
isDiscoverable bool
final
isMute bool
final
isSelfDeaf bool
final
isSelfMute bool
final
isSuppress bool
final
requestToSpeakTimestamp DateTime?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverId Snowflake
final
sessionId String?
final
userId Snowflake
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveChannel() Future<ServerVoiceChannel?>
Get related ServerVoiceChannel
resolveMember() Future<Member?>
Get related Member
resolveServer({bool force = false}) Future<Server>
resolveUser() Future<User>
Get related User
resolveVoiceContext({bool force = false}) Future<MemberVoiceManager>
Get the VoiceState of the member inside MemberVoiceManager.
toString() String
A string representation of this object.
inherited

Operators

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