case class PartialUser(id: UserId, username: Option[String], discriminator: Option[String], avatar: Option[String], bot: Option[Boolean], system: Option[Boolean], mfaEnabled: Option[Boolean], banner: Option[String], accentColor: Option[Int], locale: Option[String], verified: Option[Boolean], email: Option[String], flags: Option[UserFlags], premiumType: Option[PremiumType], publicFlags: Option[UserFlags]) 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.
- system
If the user is part of Discord's urgent messaging system.
- mfaEnabled
If this user has two factor authentication enabled.
- banner
The user's banner image hash.
- accentColor
The user's banner color as an RGB int.
- locale
The user's chosen language.
- verified
If this user is verified. Requires the email OAuth scope.
The users email. Requires the email OAuth scope.
- flags
The flags on a user's account.
- premiumType
The type of nitro the account has.
- publicFlags
The public flags on a user's account.
- Source
- rawData.scala
- Alphabetic
- By Inheritance
- PartialUser
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PartialUser(id: UserId, username: Option[String], discriminator: Option[String], avatar: Option[String], bot: Option[Boolean], system: Option[Boolean], mfaEnabled: Option[Boolean], banner: Option[String], accentColor: Option[Int], locale: Option[String], verified: Option[Boolean], email: Option[String], flags: Option[UserFlags], premiumType: Option[PremiumType], publicFlags: Option[UserFlags])
- 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.
- system
If the user is part of Discord's urgent messaging system.
- mfaEnabled
If this user has two factor authentication enabled.
- banner
The user's banner image hash.
- accentColor
The user's banner color as an RGB int.
- locale
The user's chosen language.
- verified
If this user is verified. Requires the email OAuth scope.
The users email. Requires the email OAuth scope.
- flags
The flags on a user's account.
- premiumType
The type of nitro the account has.
- publicFlags
The public flags on a user's account.
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
- val accentColor: Option[Int]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val avatar: Option[String]
- val banner: Option[String]
- val bot: Option[Boolean]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val discriminator: Option[String]
- val email: Option[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val flags: Option[UserFlags]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val id: UserId
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val locale: Option[String]
- val mfaEnabled: Option[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()
- val premiumType: Option[PremiumType]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val publicFlags: Option[UserFlags]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val system: Option[Boolean]
- val username: Option[String]
- val verified: Option[Boolean]
- 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])