diff options
Diffstat (limited to 'vendor/github.com/slack-go/slack/block_input.go')
-rw-r--r-- | vendor/github.com/slack-go/slack/block_input.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/vendor/github.com/slack-go/slack/block_input.go b/vendor/github.com/slack-go/slack/block_input.go index 9d082038..10638cd9 100644 --- a/vendor/github.com/slack-go/slack/block_input.go +++ b/vendor/github.com/slack-go/slack/block_input.go @@ -1,10 +1,8 @@ package slack -// InputBlock defines data that is used to collect information from users - -// it can hold a plain-text input element, a select menu element, -// a multi-select menu element, or a datepicker. +// InputBlock defines data that is used to display user input fields. // -// More Information: https://api.slack.com/reference/messaging/blocks#input +// More Information: https://api.slack.com/reference/block-kit/blocks#input type InputBlock struct { Type MessageBlockType `json:"type"` BlockID string `json:"block_id,omitempty"` @@ -19,7 +17,7 @@ func (s InputBlock) BlockType() MessageBlockType { return s.Type } -// NewInputBlock returns a new instance of an Input Block +// NewInputBlock returns a new instance of an input block func NewInputBlock(blockID string, label *TextBlockObject, element BlockElement) *InputBlock { return &InputBlock{ Type: MBTInput, |