Class

net.katsstuff.ackcord.data

VoiceState

Related Doc: package data

Permalink

case class VoiceState(guildId: Option[GuildId], channelId: Option[ChannelId], userId: UserId, member: Option[RawGuildMember], sessionId: String, deaf: Boolean, mute: Boolean, selfDeaf: Boolean, selfMute: Boolean, suppress: Boolean) extends GetGuildOpt with GetVChannelOpt 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

suppress

If the client has muted the user

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VoiceState
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. GetUser
  7. GetVChannelOpt
  8. GetGuildOpt
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VoiceState(guildId: Option[GuildId], channelId: Option[ChannelId], userId: UserId, member: Option[RawGuildMember], sessionId: String, deaf: Boolean, mute: Boolean, selfDeaf: Boolean, selfMute: Boolean, suppress: Boolean)

    Permalink

    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

    suppress

    If the client has muted the user

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val channelId: Option[ChannelId]

    Permalink

    The channel the user is in, or None if the user isn't in a channel.

    The channel the user is in, or None if the user isn't in a channel.

    Definition Classes
    VoiceStateGetVChannelOpt
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val deaf: Boolean

    Permalink

    If the user is deafened by the guild

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def guild[F[_]](implicit snapshot: CacheSnapshot[F], F: Monad[F]): OptionT[F, Guild]

    Permalink

    The guild for this object

    The guild for this object

    Definition Classes
    GetGuildOpt
  12. val guildId: Option[GuildId]

    Permalink

    The guild this state belongs to

    The guild this state belongs to

    Definition Classes
    VoiceStateGetGuildOpt
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val member: Option[RawGuildMember]

    Permalink

    The guild member of this voice state.

    The guild member of this voice state. Can be missing.

  15. val mute: Boolean

    Permalink

    If the user is muted by the guild

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val selfDeaf: Boolean

    Permalink

    If the user is deafened locally

  20. val selfMute: Boolean

    Permalink

    If the user is muted locally

  21. val sessionId: String

    Permalink

    The sessionId

  22. val suppress: Boolean

    Permalink

    If the client has muted the user

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def user[F[_]](implicit snapshot: CacheSnapshot[F]): OptionT[F, User]

    Permalink

    The user for this object

    The user for this object

    Definition Classes
    GetUser
  25. val userId: UserId

    Permalink

    The user of this state.

    The user of this state.

    Definition Classes
    VoiceStateGetUser
  26. def vChannel[F[_]](implicit snapshot: CacheSnapshot[F], F: Monad[F]): OptionT[F, Channel]

    Permalink

    Resolve the channelId of this object as a voice channel.

    Resolve the channelId of this object as a voice channel.

    Definition Classes
    GetVChannelOpt
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from GetUser

Inherited from GetVChannelOpt

Inherited from GetGuildOpt

Inherited from AnyRef

Inherited from Any

Ungrouped