class SlashCommandStringOption

declare class SlashCommandStringOption extends ApplicationCommandOptionBase

readonlyoptional
max_length? : number

readonlyoptional
min_length? : number

setMaxLength(
max: number
) : this

Sets the maximum length of this string option.

setMinLength(
min: number
) : this

Sets the minimum length of this string option.