case class VoiceState(guildId: Option[GuildId], channelId: Option[VoiceGuildChannelId], userId: UserId, member: Option[RawGuildMember], sessionId: String, deaf: Boolean, mute: Boolean, selfDeaf: Boolean, selfMute: Boolean, selfStream: Option[Boolean], selfVideo: Boolean, suppress: Boolean, requestToSpeakTimestamp: Option[OffsetDateTime]) extends GetGuildOpt with GetVoiceChannelOpt with GetUser with Product with Serializable
Represents a user voice connection status
- guildId
The guild this state belongs to
- channelId
The channel the user is in, or None if the user isn't in a channel.
- userId
The user of this state.
- member
The guild member of this voice state. Can be missing.
- sessionId
The sessionId
- deaf
If the user is deafened by the guild
- mute
If the user is muted by the guild
- selfDeaf
If the user is deafened locally
- selfMute
If the user is muted locally
- selfStream
If the user is streaming
- selfVideo
If the user's camera is on
- suppress
If the client has muted the user
- Source
- voice.scala
- Alphabetic
- By Inheritance
- VoiceState
- Serializable
- Product
- Equals
- GetUser
- GetVoiceChannelOpt
- GetGuildOpt
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new VoiceState(guildId: Option[GuildId], channelId: Option[VoiceGuildChannelId], userId: UserId, member: Option[RawGuildMember], sessionId: String, deaf: Boolean, mute: Boolean, selfDeaf: Boolean, selfMute: Boolean, selfStream: Option[Boolean], selfVideo: Boolean, suppress: Boolean, requestToSpeakTimestamp: Option[OffsetDateTime])
- guildId
The guild this state belongs to
- channelId
The channel the user is in, or None if the user isn't in a channel.
- userId
The user of this state.
- member
The guild member of this voice state. Can be missing.
- sessionId
The sessionId
- deaf
If the user is deafened by the guild
- mute
If the user is muted by the guild
- selfDeaf
If the user is deafened locally
- selfMute
If the user is muted locally
- selfStream
If the user is streaming
- selfVideo
If the user's camera is on
- suppress
If the client has muted the user
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val channelId: Option[VoiceGuildChannelId]
- Definition Classes
- VoiceState → GetVoiceChannelOpt
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val deaf: Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def guild(implicit snapshot: CacheSnapshot): Option[GatewayGuild]
The guild for this object
The guild for this object
- Definition Classes
- GetGuildOpt
- val guildId: Option[GuildId]
- Definition Classes
- VoiceState → GetGuildOpt
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val member: Option[RawGuildMember]
- val mute: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val requestToSpeakTimestamp: Option[OffsetDateTime]
- val selfDeaf: Boolean
- val selfMute: Boolean
- val selfStream: Option[Boolean]
- val selfVideo: Boolean
- val sessionId: String
- val suppress: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def user(implicit snapshot: CacheSnapshot): Option[User]
The user for this object
The user for this object
- Definition Classes
- GetUser
- val userId: UserId
- Definition Classes
- VoiceState → GetUser
- def voiceChannel(implicit snapshot: CacheSnapshot): Option[VoiceGuildChannel]
Resolve the channelId of this object as a voice channel.
Resolve the channelId of this object as a voice channel.
- Definition Classes
- GetVoiceChannelOpt
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])