enum ComponentType

export declare enum ComponentType

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

Members

ActionRow = 1

Container to display a row of interactive components

Button = 2

Button component

ChannelSelect = 8

Select menu for channels

Container = 17

Container that visually groups a set of components

unstable
ContentInventoryEntry = 16

File = 13

Displays an attached file

FileUpload = 19

Component for uploading files

Label = 18

Container associating a label and description with a component

MediaGallery = 12

Display images and other media

MentionableSelect = 7

Select menu for users and roles

RoleSelect = 6

Select menu for roles

Section = 9

Container to display text alongside an accessory component

deprecated
SelectMenu = 3

Select menu for picking from defined text options

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