@slack/web-api / InputBlock
Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:146
Collects information from users via block elements.
optional block_id: string;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:15
A string acting as a unique identifier for a block. If not specified, a block_id will be generated.
You can use this block_id when you receive an interaction payload to
identify the source of the action.
Maximum length for this field is 255 characters. block_id should be unique for each message and each iteration of
a message. If a message is updated, use a new block_id.
optional dispatch_action: boolean;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:174
A boolean that indicates whether or not the use of elements in this block should dispatch a
block_actions payload. Defaults to false.
element: InputBlockElement;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:169
A block element.
optional hint: PlainTextElement;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:160
An optional hint that appears below an input element in a lighter grey. It must be a
object. Maximum length for the text in this field is 2000 characters.
label: PlainTextElement;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:155
A label that appears above an input element in the form of a PlainTextElement object. Maximum length for the text in this field is 2000 characters.
optional optional: boolean;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:165
A boolean that indicates whether the input element may be empty when a user submits the modal.
Defaults to false.
type: "input";Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:150
The type of block. For an input block, type is always input.