@slack/web-api / Confirm
Defined in: node_modules/@slack/types/dist/block-kit/composition-objects.d.ts:14
Confirm aliased to ConfirmationDialog in order to make the construct clearer and line up terminology with api.slack.com.
Defines a dialog that adds a confirmation step to interactive elements.
Confirmation dialog object reference.
optional confirm: PlainTextElement;Defined in: node_modules/@slack/types/dist/block-kit/composition-objects.d.ts:29
A PlainTextElement text object to define the text of the button that confirms the action.
Maximum length for the text in this field is 30 characters.
optional deny: PlainTextElement;Defined in: node_modules/@slack/types/dist/block-kit/composition-objects.d.ts:34
A PlainTextElement text object to define the text of the button that cancels the action.
Maximum length for the text in this field is 30 characters.
optional style: ColorScheme;Defined in: node_modules/@slack/types/dist/block-kit/composition-objects.d.ts:40
Defines the color scheme applied to the confirm button. A value of danger will display the button
with a red background on desktop, or red text on mobile. A value of primary will display the button with a green
background on desktop, or blue text on mobile. If this field is not provided, the default value will be primary.
text:
| PlainTextElement
| MrkdwnElement;Defined in: node_modules/@slack/types/dist/block-kit/composition-objects.d.ts:24
A PlainTextElement text object that defines the explanatory text that appears in the confirm
dialog. Maximum length for the text in this field is 300 characters.
optional title: PlainTextElement;Defined in: node_modules/@slack/types/dist/block-kit/composition-objects.d.ts:19
A PlainTextElement text object that defines the dialog's title. Maximum length for this field is 100 characters.