Component Type
Entries
Link copied to clipboard
A container for other components.
Link copied to clipboard
A select menu for picking from choices
Link copied to clipboard
A text input object
Link copied to clipboard
Select menu for users.
Link copied to clipboard
Select menu for roles.
Link copied to clipboard
Select menu for mentionables (users and roles)
Link copied to clipboard
Select menu for channels.
Functions
Link copied to clipboard
Get the maximum number of components that can be in a row of this type
Link copied to clipboard
Whether this component type is compatible with messages
Link copied to clipboard
Whether this component type is compatible with modals
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.