ApplicationCommandOption
data class ApplicationCommandOption(val type: ApplicationCommandOptionType, val name: String, val nameLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), val description: String, val descriptionLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), val default: OptionalBoolean = OptionalBoolean.Missing, val required: OptionalBoolean = OptionalBoolean.Missing, val choices: Optional<List<Choice>> = Optional.Missing(), val autocomplete: OptionalBoolean = OptionalBoolean.Missing, val options: Optional<List<ApplicationCommandOption>> = Optional.Missing(), val channelTypes: Optional<List<ChannelType>> = Optional.Missing(), val minValue: Optional<JsonPrimitive> = Optional.Missing(), val maxValue: Optional<JsonPrimitive> = Optional.Missing(), val minLength: OptionalInt = OptionalInt.Missing, val maxLength: OptionalInt = OptionalInt.Missing)(source)
Constructors
Link copied to clipboard
constructor(type: ApplicationCommandOptionType, name: String, nameLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), description: String, descriptionLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), default: OptionalBoolean = OptionalBoolean.Missing, required: OptionalBoolean = OptionalBoolean.Missing, choices: Optional<List<Choice>> = Optional.Missing(), autocomplete: OptionalBoolean = OptionalBoolean.Missing, options: Optional<List<ApplicationCommandOption>> = Optional.Missing(), channelTypes: Optional<List<ChannelType>> = Optional.Missing(), minValue: Optional<JsonPrimitive> = Optional.Missing(), maxValue: Optional<JsonPrimitive> = Optional.Missing(), minLength: OptionalInt = OptionalInt.Missing, maxLength: OptionalInt = OptionalInt.Missing)
Properties
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
Link copied to clipboard