Enum ComponentType
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Represents a type of a component.
public enum ComponentType
- Extension Methods
Fields
ActionRow = 1A container for other components.
Button = 2A clickable button.
ChannelSelect = 8A select menu for picking from channels.
Container = 17A container that visually groups a set of components.
File = 13A component displaying an attached file.
FileUpload = 19A component that allows users to upload files in modals.
Label = 18A layout component that wraps modal components (text input, select menu or file upload) with a label and description.
MediaGallery = 12A component displaying images and other media.
MentionableSelect = 7A select menu for picking from roles and users.
RoleSelect = 6A select menu for picking from roles.
Section = 9A container to display text alongside an accessory component.
SelectMenu = 3A select menu for picking from choices.
Separator = 14A component to add vertical padding between other components.
TextDisplay = 10A component displaying Markdown text.
TextInput = 4A box for entering text.
Thumbnail = 11A small image that can be used as an accessory.
UserSelect = 5A select menu for picking from users.