Skip to content
Enumdiscord-component-embedv1.0.0

ComponentType

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

enum ComponentType

Members

ActionRow
= 1

Container to display a row of interactive components

Button
= 2

Button component

ChannelSelect
= 8

Select menu for channels

Checkbox
= 23

Single checkbox for binary choice

CheckboxGroup
= 22

Multi-select group of checkboxes

Container
= 17

Container that visually groups a set of components

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.

File
= 13

Displays an attached file

FileUpload
= 19

Component for uploading files

Label
= 18

Container associating a label and description with a component

MentionableSelect
= 7

Select menu for users and roles

RadioGroup
= 21

Single-choice set of radio group option

RoleSelect
= 6

Select menu for roles

Section
= 9

Container to display text alongside an accessory component

This is the old name for StringSelect

SelectMenu
= 3

Select menu for picking from defined text options

Deprecated
Separator
= 14

Component to add vertical padding between other components

StringSelect
= 3

Select menu for picking from defined text options

TextDisplay
= 10

Markdown text

TextInput
= 4

Text Input component

Thumbnail
= 11

Small image that can be used as an accessory

UserSelect
= 5

Select menu for users