Skip to main content

Variable: TextInputLimits

const TextInputLimits: object

Namespace containing limits related to Discord Modal Text Input component.

Type declaration

MaximumCustomIdCharacters

readonly MaximumCustomIdCharacters: 100

Maximum characters allowed in a text input custom ID.

MaximumLabelCharacters

readonly MaximumLabelCharacters: 45

Maximum characters allowed in a text input label.

MaximumPlaceholderCharacters

readonly MaximumPlaceholderCharacters: 100

Maximum characters allowed in a text input placeholder.

MaximumValueCharacters

readonly MaximumValueCharacters: 4000

Maximum characters allowed in a text input value.

Source

node_modules/@sapphire/discord-utilities/dist/esm/index.d.mts:603