Abstract
Represents a discord component
Implements
JSONEncodable<AnyAPIActionRowComponent>Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
DataType | Partial<APIBaseComponent<ComponentType>> | Yes | APIBaseComponent<ComponentType> | The type of internal API data that is stored within the component |
Constructs a new instance of the
ComponentBuilder
className | Type | Optional | Description |
---|---|---|---|
data | Partial<DataType> | No | None |