Components
Table of Contents
Namespaces
- Contracts
Classes
- ActionRow
- An Action Row is a non-interactive container component for other types of
components.
- Button
- Buttons are interactive components that render in messages.
- ChannelSelect
- Select menu for channels.
- Component
- Components are a new field on the message object, so you can use them whether
you're sending messages or responding to a slash command or other interaction.
- Container
- Containers are a new way to group components together.
- File
- File components allow you to send a file. You can also spoiler it.
- MediaGallery
- Media gallery components allow you to group images, videos or gifs into a gallery grid.
- MediaGalleryItem
- Represents an item in a media gallery component.
- MentionableSelect
- Select menu for mentionables (users and roles).
- Option
- Option for select menu component.
- RoleSelect
- Select menu for roles.
- Section
- Section components allow you to define up to 3 text display components and add either a thumbnail or button to the right side.
- SelectMenu
- Select menus are interactive components that allow users to select one or
more options from a dropdown list in messages.
- Separator
- Separator components allow you to divide components with a divider.
- StringSelect
- Select menu for picking from defined text options.
- TextDisplay
- Text display components allow you to send text.
- TextInput
- Text inputs are an interactive component that render on modals. They can be used to collect short-form or long-form text.
- Thumbnail
- Thumbnail components allow you to add a thumbnail image to a section.
- UnfurledMediaItem
- Represents an unfurled media item, which is the base for V2 components.
- UserSelect
- Select menu for users.