Table of Contents

Enum ComponentType

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents a type of a component.

public enum ComponentType
Extension Methods

Fields

ActionRow = 1

A container for other components.

Button = 2

A clickable button.

ChannelSelect = 8

A select menu for picking from channels.

Container = 17

A container that visually groups a set of components.

File = 13

A component displaying an attached file.

FileUpload = 19

A component that allows users to upload files in modals.

Label = 18

A layout component that wraps modal components (text input, select menu or file upload) with a label and description.

MediaGallery = 12

A component displaying images and other media.

MentionableSelect = 7

A select menu for picking from roles and users.

RoleSelect = 6

A select menu for picking from roles.

Section = 9

A container to display text alongside an accessory component.

SelectMenu = 3

A select menu for picking from choices.

Separator = 14

A component to add vertical padding between other components.

TextDisplay = 10

A component displaying Markdown text.

TextInput = 4

A box for entering text.

Thumbnail = 11

A small image that can be used as an accessory.

UserSelect = 5

A select menu for picking from users.