ComponentEnum
constComponentEnum:object
Defined in: packages/types/src/index.ts:72
Discord component types.
Type Declaration
Section titled “Type Declaration”ActionRow
Section titled “ActionRow”
readonlyActionRow:1=1
Button
Section titled “Button”
readonlyButton:2=2
ChannelSelect
Section titled “ChannelSelect”
readonlyChannelSelect:8=8
Container
Section titled “Container”
readonlyContainer:17=17
ContentInventoryEntry
Section titled “ContentInventoryEntry”
readonlyContentInventoryEntry:16=16
readonlyFile:13=13
MediaGallery
Section titled “MediaGallery”
readonlyMediaGallery:12=12
MentionableSelect
Section titled “MentionableSelect”
readonlyMentionableSelect:7=7
RoleSelect
Section titled “RoleSelect”
readonlyRoleSelect:6=6
Section
Section titled “Section”
readonlySection:9=9
Separator
Section titled “Separator”
readonlySeparator:14=14
StringSelect
Section titled “StringSelect”
readonlyStringSelect:3=3
TextDisplay
Section titled “TextDisplay”
readonlyTextDisplay:10=10
TextInput
Section titled “TextInput”
readonlyTextInput:4=4
Thumbnail
Section titled “Thumbnail”
readonlyThumbnail:11=11
UserSelect
Section titled “UserSelect”
readonlyUserSelect:5=5