Skip to content

Commit 841f33c

Browse files
authored
Merge pull request #893 from incident-io/add-dispatch-action
Add `dispatch_action` to input blocks
2 parents 2fcee53 + a081376 commit 841f33c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

block_input.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ package slack
44
//
55
// More Information: https://api.slack.com/reference/block-kit/blocks#input
66
type InputBlock struct {
7-
Type MessageBlockType `json:"type"`
8-
BlockID string `json:"block_id,omitempty"`
9-
Label *TextBlockObject `json:"label"`
10-
Element BlockElement `json:"element"`
11-
Hint *TextBlockObject `json:"hint,omitempty"`
12-
Optional bool `json:"optional,omitempty"`
7+
Type MessageBlockType `json:"type"`
8+
BlockID string `json:"block_id,omitempty"`
9+
Label *TextBlockObject `json:"label"`
10+
Element BlockElement `json:"element"`
11+
Hint *TextBlockObject `json:"hint,omitempty"`
12+
Optional bool `json:"optional,omitempty"`
13+
DispatchAction bool `json:"dispatch_action,omitempty"`
1314
}
1415

1516
// BlockType returns the type of the block

0 commit comments

Comments
 (0)