Enum DiscordComponentType
- Namespace
 - DSharpPlus.Entities
 
- Assembly
 - DSharpPlus.dll
 
Represents a type of component.
public enum DiscordComponentType
  - Extension Methods
 
Fields
ActionRow = 1A row of components.
Button = 2A button.
ChannelSelect = 8A select menu that allows channels to be selected.
Container = 17A container for other components; can be styled with an accent color like embeds.
File = 13A singular, arbitrary file.
FileUpload = 19A component for uploading files to a bot. Only used in modals.
Label = 18A label component containing a title, component, and optionally description. Only used in Modals.
MediaGallery = 12A gallery of media.
MentionableSelect = 7A select menu that allows either roles or users to be selected.
RoleSelect = 6A select menu that allows roles to be selected.
Section = 9A section of text with optional media (button, thumbnail) accessory.
Separator = 14A separator between other components.
StringSelect = 3A select menu that allows arbitrary, bot-defined strings to be selected.
TextDisplay = 10A display of text, up to 4000 characters (unified).
TextInput = 4A text input field in a modal.
Thumbnail = 11A thumbnail.
UserSelect = 5A select menu that allows users to be selected.