UserData

data class UserData(val id: Snowflake, val username: String, val discriminator: Optional<String> = Optional.Missing(), val globalName: Optional<String?> = Optional.Missing(), val avatar: String? = null, val bot: OptionalBoolean = OptionalBoolean.Missing, val publicFlags: Optional<UserFlags> = Optional.Missing(), val banner: String? = null, val accentColor: Int? = null, val avatarDecoration: Optional<String?> = Optional.Missing())(source)

Constructors

Link copied to clipboard
constructor(id: Snowflake, username: String, discriminator: Optional<String> = Optional.Missing(), globalName: Optional<String?> = Optional.Missing(), avatar: String? = null, bot: OptionalBoolean = OptionalBoolean.Missing, publicFlags: Optional<UserFlags> = Optional.Missing(), banner: String? = null, accentColor: Int? = null, avatarDecoration: Optional<String?> = Optional.Missing())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val accentColor: Int? = null
Link copied to clipboard
val avatar: String? = null
Link copied to clipboard
Link copied to clipboard
val banner: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard