class SlashCommandStringOption
extends
ApplicationCommandOptionBasedeclare class SlashCommandStringOption extends ApplicationCommandOptionBase
readonlyoptionalnumber max_length? :
readonlyoptionalnumber min_length? :
readonlyApplicationCommandOptionType.String type :
setMaxLengthmax: number) : this (
max: number
Sets the maximum length of this string option.
setMinLengthmin: number) : this (
min: number
Sets the minimum length of this string option.