enum ComponentType

external
export declare enum ComponentType

See also: https://discord.com/developers/docs/components/reference#component-object-component-types

Members

external
ActionRow = 1

Container to display a row of interactive components

external
Button = 2

Button component

external
ChannelSelect = 8

Select menu for channels

external
Container = 17

Container that visually groups a set of components

external
ContentInventoryEntry = 16

This component type is currently not documented by Discord but has a known value which we will try to keep up to date.

external
File = 13

Displays an attached file

external
MediaGallery = 12

Display images and other media

external
MentionableSelect = 7

Select menu for users and roles

external
RoleSelect = 6

Select menu for roles

external
Section = 9

Container to display text alongside an accessory component

deprecatedexternal
SelectMenu = 3

Select menu for picking from defined text options

external
Separator = 14

Component to add vertical padding between other components

external
StringSelect = 3

Select menu for picking from defined text options

external
TextDisplay = 10

Markdown text

external
TextInput = 4

Text Input component

external
Thumbnail = 11

Small image that can be used as an accessory

external
UserSelect = 5

Select menu for users