Class

ackcord.data.raw

PartialUser

Related Doc: package raw

Permalink

case class PartialUser(id: UserId, username: Option[String], discriminator: Option[String], avatar: Option[String], bot: Option[Boolean], mfaEnabled: Option[Boolean], verified: Option[Boolean], email: Option[String], flags: Option[UserFlags], premiumType: Option[PremiumType]) extends Product with Serializable

A user where fields can be missing.

id

The id of the user.

username

The name of the user.

discriminator

The discriminator for the user. Those four last digits when clicking in a users name.

avatar

The users avatar hash.

bot

If this user belongs to a OAuth2 application.

mfaEnabled

If this user has two factor authentication enabled.

verified

If this user is verified. Requires the email OAuth scope.

email

The users email. Requires the email OAuth scope.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartialUser
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PartialUser(id: UserId, username: Option[String], discriminator: Option[String], avatar: Option[String], bot: Option[Boolean], mfaEnabled: Option[Boolean], verified: Option[Boolean], email: Option[String], flags: Option[UserFlags], premiumType: Option[PremiumType])

    Permalink

    id

    The id of the user.

    username

    The name of the user.

    discriminator

    The discriminator for the user. Those four last digits when clicking in a users name.

    avatar

    The users avatar hash.

    bot

    If this user belongs to a OAuth2 application.

    mfaEnabled

    If this user has two factor authentication enabled.

    verified

    If this user is verified. Requires the email OAuth scope.

    email

    The users email. Requires the email OAuth scope.

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 avatar: Option[String]

    Permalink

    The users avatar hash.

  6. val bot: Option[Boolean]

    Permalink

    If this user belongs to a OAuth2 application.

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val discriminator: Option[String]

    Permalink

    The discriminator for the user.

    The discriminator for the user. Those four last digits when clicking in a users name.

  9. val email: Option[String]

    Permalink

    The users email.

    The users email. Requires the email OAuth scope.

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val flags: Option[UserFlags]

    Permalink
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. val id: UserId

    Permalink

    The id of the user.

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val mfaEnabled: Option[Boolean]

    Permalink

    If this user has two factor authentication enabled.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  20. val premiumType: Option[PremiumType]

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

    Permalink
    Definition Classes
    AnyRef
  22. val username: Option[String]

    Permalink

    The name of the user.

  23. val verified: Option[Boolean]

    Permalink

    If this user is verified.

    If this user is verified. Requires the email OAuth scope.

  24. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. 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 AnyRef

Inherited from Any

Ungrouped