SlashCommandStringOption
declare class SlashCommandStringOption extends ApplicationCommandOptionBase declare class SlashCommandStringOption extends ApplicationCommandOptionBase No summary provided.
Extends
ApplicationCommandOptionBaseReadonly
Optional
max_length?
:
number
Readonly
Optional
min_length?
:
number
Readonly
type
:
ApplicationCommandOptionType.String
setMaxLength(max)
:
this
Sets the maximum length of this string option.
| Name | Type | Optional | Description |
|---|---|---|---|
| max | number | No | The maximum length this option can be |
setMinLength(min)
:
this
Sets the minimum length of this string option.
| Name | Type | Optional | Description |
|---|---|---|---|
| min | number | No | The minimum length this option can be |