ApplicationCommandOptionData
data class ApplicationCommandOptionData(val type: ApplicationCommandOptionType, val name: String, val description: String, val default: OptionalBoolean = OptionalBoolean.Missing, val required: OptionalBoolean = OptionalBoolean.Missing, val choices: Optional<List<ApplicationCommandOptionChoiceData>> = Optional.Missing(), val options: Optional<List<ApplicationCommandOptionData>> = 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, description: String, default: OptionalBoolean = OptionalBoolean.Missing, required: OptionalBoolean = OptionalBoolean.Missing, choices: Optional<List<ApplicationCommandOptionChoiceData>> = Optional.Missing(), options: Optional<List<ApplicationCommandOptionData>> = 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)