Update vendor for next release (#1343)
This commit is contained in:
4
vendor/github.com/slack-go/slack/block_action.go
generated
vendored
4
vendor/github.com/slack-go/slack/block_action.go
generated
vendored
@@ -6,7 +6,7 @@ package slack
|
||||
type ActionBlock struct {
|
||||
Type MessageBlockType `json:"type"`
|
||||
BlockID string `json:"block_id,omitempty"`
|
||||
Elements BlockElements `json:"elements"`
|
||||
Elements *BlockElements `json:"elements"`
|
||||
}
|
||||
|
||||
// BlockType returns the type of the block
|
||||
@@ -19,7 +19,7 @@ func NewActionBlock(blockID string, elements ...BlockElement) *ActionBlock {
|
||||
return &ActionBlock{
|
||||
Type: MBTAction,
|
||||
BlockID: blockID,
|
||||
Elements: BlockElements{
|
||||
Elements: &BlockElements{
|
||||
ElementSet: elements,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user