DiscordPartialRole
data class DiscordPartialRole(val id: Snowflake, val name: Optional<String> = Optional.Missing(), val color: OptionalInt = OptionalInt.Missing, val hoist: OptionalBoolean = OptionalBoolean.Missing, val icon: Optional<String?> = Optional.Missing(), val unicodeEmoji: Optional<String?> = Optional.Missing(), val position: OptionalInt = OptionalInt.Missing, val permissions: Optional<Permissions> = Optional.Missing(), val managed: OptionalBoolean = OptionalBoolean.Missing, val mentionable: OptionalBoolean = OptionalBoolean.Missing, val tags: Optional<DiscordRoleTags> = Optional.Missing())(source)
Constructors
Link copied to clipboard
constructor(id: Snowflake, name: Optional<String> = Optional.Missing(), color: OptionalInt = OptionalInt.Missing, hoist: OptionalBoolean = OptionalBoolean.Missing, icon: Optional<String?> = Optional.Missing(), unicodeEmoji: Optional<String?> = Optional.Missing(), position: OptionalInt = OptionalInt.Missing, permissions: Optional<Permissions> = Optional.Missing(), managed: OptionalBoolean = OptionalBoolean.Missing, mentionable: OptionalBoolean = OptionalBoolean.Missing, tags: Optional<DiscordRoleTags> = Optional.Missing())