GuildRoleCreateRequest

data class GuildRoleCreateRequest(val name: Optional<String> = Optional.Missing(), val permissions: Optional<Permissions> = Optional.Missing(), val color: Optional<Color> = Optional.Missing(), val hoist: OptionalBoolean = OptionalBoolean.Missing, val icon: Optional<String?> = Optional.Missing(), val unicodeEmoji: Optional<String?> = Optional.Missing(), val mentionable: OptionalBoolean = OptionalBoolean.Missing, val id: OptionalSnowflake = OptionalSnowflake.Missing)(source)

Constructors

Link copied to clipboard
constructor(name: Optional<String> = Optional.Missing(), permissions: Optional<Permissions> = Optional.Missing(), color: Optional<Color> = Optional.Missing(), hoist: OptionalBoolean = OptionalBoolean.Missing, icon: Optional<String?> = Optional.Missing(), unicodeEmoji: Optional<String?> = Optional.Missing(), mentionable: OptionalBoolean = OptionalBoolean.Missing, id: OptionalSnowflake = OptionalSnowflake.Missing)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Only use this when creating a guild with roles.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "unicode_emoji")
val unicodeEmoji: Optional<String?>