File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
slack-api-client/src/test/java/test_with_remote_apis/methods Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 3434import static com .slack .api .model .Attachments .asAttachments ;
3535import static com .slack .api .model .Attachments .attachment ;
3636import static com .slack .api .model .block .Blocks .*;
37+ import static com .slack .api .model .block .composition .BlockCompositions .confirmationDialog ;
38+ import static com .slack .api .model .block .composition .BlockCompositions .feedbackButton ;
3739import static com .slack .api .model .block .composition .BlockCompositions .markdownText ;
3840import static com .slack .api .model .block .composition .BlockCompositions .plainText ;
3941import static com .slack .api .model .block .element .BlockElements .*;
@@ -829,18 +831,18 @@ public void streamMessages() throws IOException, SlackApiException {
829831 .ts (streamer .getTs ())
830832 .blocks (
831833 asBlocks (
832- contextActions (c -> c .
834+ contextActions (a -> a .
833835 elements (
834836 asContextActionsElements (
835837 feedbackButtons (b -> b
836838 .positiveButton (
837- feedbackButton (a -> a
839+ feedbackButton (c -> c
838840 .text (plainText (":+1:" ))
839841 .value ("+1" )
840842 )
841843 )
842844 .negativeButton (
843- feedbackButton (a -> a
845+ feedbackButton (c -> c
844846 .text (plainText (":-1:" ))
845847 .value ("-1" )
846848 )
@@ -850,7 +852,7 @@ public void streamMessages() throws IOException, SlackApiException {
850852 .icon ("trash" )
851853 .text (plainText ("Remove" ))
852854 .confirm (
853- confirmationDialog (d -> d
855+ confirmationDialog (c -> c
854856 .title (plainText ("Oops" ))
855857 .text (plainText ("This response might've been just alright..." ))
856858 .style ("danger" )
You can’t perform that action at this time.
0 commit comments