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
- val channelId: Option[VoiceGuildChannelId]
- Definition Classes
- VoiceState → GetVoiceChannelOpt
- val deaf: Boolean
- 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
- val member: Option[RawGuildMember]
- val mute: Boolean
- 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
- 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