Package net.dv8tion.jda.api.components
package net.dv8tion.jda.api.components
Abstraction types for message components.
-
ClassDescriptionComponent which supports interactions via
ComponentInteraction
.Component of a Message or Modal.The component typesUtility class for components.Base interface forComponent
union types.Represents a component that can be added directly to a message, this includes:ActionRow
Section
TextDisplay
MediaGallery
Separator
FileDisplay
Container
Represents a union ofMessageTopLevelComponents
that can be one of:ActionRow
Section
TextDisplay
MediaGallery
Separator
FileDisplay
Container
UnknownComponent
, detectable viaIComponentUnion.isUnknownComponent()
A media resolved by Discord including some metadata, typically comes from V2 Components.Represents a component which has an unknown type.