Skip to content

Commit

Permalink
Add missing select menu types for block elem unmarshal
Browse files Browse the repository at this point in the history
  • Loading branch information
alyosha authored and james-lawrence committed Jun 2, 2019
1 parent e2954b1 commit 948680b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block_conv.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (b *BlockElements) UnmarshalJSON(data []byte) error {
blockElement = &OverflowBlockElement{}
case "datepicker":
blockElement = &DatePickerBlockElement{}
case "static_select":
case "static_select", "external_select", "users_select", "conversations_select", "channels_select":
blockElement = &SelectBlockElement{}
default:
return errors.New("unsupported block element type")
Expand Down

0 comments on commit 948680b

Please sign in to comment.