RoleData

data class RoleData(val id: Snowflake, val guildId: Snowflake, val name: String, val color: Int, val hoisted: Boolean, val icon: Optional<String?> = Optional.Missing(), val unicodeEmoji: Optional<String?> = Optional.Missing(), val position: Int, val permissions: Permissions, val managed: Boolean, val mentionable: Boolean, val tags: Optional<RoleTagsData> = Optional.Missing(), val flags: RoleFlags)(source)

Constructors

Link copied to clipboard
constructor(id: Snowflake, guildId: Snowflake, name: String, color: Int, hoisted: Boolean, icon: Optional<String?> = Optional.Missing(), unicodeEmoji: Optional<String?> = Optional.Missing(), position: Int, permissions: Permissions, managed: Boolean, mentionable: Boolean, tags: Optional<RoleTagsData> = Optional.Missing(), flags: RoleFlags)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val color: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard