Skip to main content

Variable: ButtonLimits

const ButtonLimits: object

Namespace containing limits related to Message Buttons.

Type declaration

MaximumCustomIdCharacters

readonly MaximumCustomIdCharacters: 100 = 100

Maximum characters allowed in a button custom ID.

MaximumLabelCharacters

readonly MaximumLabelCharacters: 80 = 80

Maximum characters allowed in a button label.

Source

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