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 = 100

Maximum characters allowed in a text input custom ID.

MaximumLabelCharacters

readonly MaximumLabelCharacters: 45 = 45

Maximum characters allowed in a text input label.

MaximumPlaceholderCharacters

readonly MaximumPlaceholderCharacters: 100 = 100

Maximum characters allowed in a text input placeholder.

MaximumValueCharacters

readonly MaximumValueCharacters: 4000 = 4000

Maximum characters allowed in a text input value.

Source

projects/utilities/packages/discord-utilities/src/lib/limits.ts:610