forked from lug/matterbridge
Update vendor (#1257)
This commit is contained in:
12
vendor/github.com/slack-go/slack/block_element.go
generated
vendored
12
vendor/github.com/slack-go/slack/block_element.go
generated
vendored
@@ -201,10 +201,20 @@ type SelectBlockElement struct {
|
||||
InitialChannel string `json:"initial_channel,omitempty"`
|
||||
DefaultToCurrentConversation bool `json:"default_to_current_conversation,omitempty"`
|
||||
ResponseURLEnabled bool `json:"response_url_enabled,omitempty"`
|
||||
Filter *SelectBlockElementFilter `json:"filter,omitempty"`
|
||||
MinQueryLength *int `json:"min_query_length,omitempty"`
|
||||
Confirm *ConfirmationBlockObject `json:"confirm,omitempty"`
|
||||
}
|
||||
|
||||
// SelectBlockElementFilter allows to filter select element conversation options by type.
|
||||
//
|
||||
// More Information: https://api.slack.com/reference/block-kit/composition-objects#filter_conversations
|
||||
type SelectBlockElementFilter struct {
|
||||
Include []string `json:"include,omitempty"`
|
||||
ExcludeExternalSharedChannels bool `json:"exclude_external_shared_channels,omitempty"`
|
||||
ExcludeBotUsers bool `json:"exclude_bot_users,omitempty"`
|
||||
}
|
||||
|
||||
// ElementType returns the type of the Element
|
||||
func (s SelectBlockElement) ElementType() MessageElementType {
|
||||
return MessageElementType(s.Type)
|
||||
@@ -387,7 +397,7 @@ func (c CheckboxGroupsBlockElement) ElementType() MessageElementType {
|
||||
return c.Type
|
||||
}
|
||||
|
||||
// NewCheckboxGroupsBlockElement returns an instance of a radio block element
|
||||
// NewCheckboxGroupsBlockElement returns an instance of a checkbox-group block element
|
||||
func NewCheckboxGroupsBlockElement(actionID string, options ...*OptionBlockObject) *CheckboxGroupsBlockElement {
|
||||
return &CheckboxGroupsBlockElement{
|
||||
Type: METCheckboxGroups,
|
||||
|
||||
Reference in New Issue
Block a user