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