Represents the serialized fields from a modal submit interaction
Constructs a new instance of the
ModalSubmitFields class| Name | Type | Optional | Description |
|---|---|---|---|
| components | ModalActionRowComponent[][] | No | None |
Gets a field given a custom id from a component
| Name | Constraints | Optional | Default | Description |
|---|---|---|---|---|
| Type | ComponentType | No | None |
| Name | Type | Optional | Description |
|---|---|---|---|
| customId | string | No | The custom id of the component |
| type | Type | No | The type of the component |
Gets the value of a text input component given a custom id
| Name | Type | Optional | Description |
|---|---|---|---|
| customId | string | No | The custom id of the text input component |