Packages

c

ackcord.data

VoiceState

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) 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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VoiceState
  2. Serializable
  3. Product
  4. Equals
  5. GetUser
  6. GetVoiceChannelOpt
  7. GetGuildOpt
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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)

    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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val channelId: Option[VoiceGuildChannelId]
    Definition Classes
    VoiceStateGetVoiceChannelOpt
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. val deaf: Boolean
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def guild(implicit snapshot: CacheSnapshot): Option[Guild]

    The guild for this object

    The guild for this object

    Definition Classes
    GetGuildOpt
  12. val guildId: Option[GuildId]
    Definition Classes
    VoiceStateGetGuildOpt
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val member: Option[RawGuildMember]
  15. val mute: Boolean
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. val selfDeaf: Boolean
  21. val selfMute: Boolean
  22. val selfStream: Option[Boolean]
  23. val selfVideo: Boolean
  24. val sessionId: String
  25. val suppress: Boolean
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def user(implicit snapshot: CacheSnapshot): Option[User]

    The user for this object

    The user for this object

    Definition Classes
    GetUser
  28. val userId: UserId
    Definition Classes
    VoiceStateGetUser
  29. 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
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from GetUser

Inherited from GetVoiceChannelOpt

Inherited from GetGuildOpt

Inherited from AnyRef

Inherited from Any

Ungrouped