ModalSubmitPayload
Defined in: packages/platform-discord/src/types.ts:88
The payload a modal submit handler receives.
Extends
Section titled “Extends”Properties
Section titled “Properties”checkboxes
Section titled “checkboxes”
readonlycheckboxes:Readonly<Record<string,boolean>>
Defined in: packages/platform-discord/src/types.ts:80
Checkbox values.
Inherited from
Section titled “Inherited from”
readonlyfiles:Readonly<Record<string,ReadonlyArray<DiscordAttachment>>>
Defined in: packages/platform-discord/src/types.ts:84
Uploaded files.
Inherited from
Section titled “Inherited from”interaction
Section titled “interaction”
readonlyinteraction:DiscordInteraction
Defined in: packages/platform-discord/src/types.ts:89
mentionables
Section titled “mentionables”
readonlymentionables:Readonly<Record<string,ModalMentionableValues>>
Defined in: packages/platform-discord/src/types.ts:78
Mentionable select values, split by kind.
Inherited from
Section titled “Inherited from”ModalSubmitValues.mentionables
radioGroups
Section titled “radioGroups”
readonlyradioGroups:Readonly<Record<string,string>>
Defined in: packages/platform-discord/src/types.ts:82
Radio group values.
Inherited from
Section titled “Inherited from”selections
Section titled “selections”
readonlyselections:Readonly<Record<string,ReadonlyArray<string>>>
Defined in: packages/platform-discord/src/types.ts:76
String, user, role, channel, and checkbox-group selections.
Inherited from
Section titled “Inherited from”values
Section titled “values”
readonlyvalues:Readonly<Record<string,string>>
Defined in: packages/platform-discord/src/types.ts:74
Text input values.