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