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

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

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