From 092ca1cd678c44fa078bba11d4d219e61498342a Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 28 Mar 2020 23:50:47 +0100 Subject: Update vendor slack-go/slack (#1068) --- vendor/github.com/slack-go/slack/block_input.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'vendor/github.com/slack-go/slack/block_input.go') 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, -- cgit v1.2.3