export class ModalSubmitFields
Represents the serialized fields from a modal submit interaction
ActionRowModalData[] components :
The components within the modal
Collection<string, TextInputModalData> fields :
The extracted fields from the modal
Overload 1
Overload 2
getFieldType extends ComponentType
>(customId: stringtype: Type) : TextInputModalData & { type: Type } <
Type extends ComponentType
customId: string
type: Type
Gets a field given a custom id from a component