package com.github.seratch.jslack.api.model.block.element;

import com.github.seratch.jslack.api.model.block.composition.ConfirmationDialogObject;
import com.github.seratch.jslack.api.model.block.composition.PlainTextObject;
import lombok.*;

/**
 * https://api.slack.com/reference/messaging/block-elements#button
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ButtonElement extends BlockElement {
    private final String type = "button";
    private PlainTextObject text;
    private String actionId;
    private String url;
    private String value;
    private ConfirmationDialogObject confirm;
}

@@ -607,16 +607,78 @@
  value;%0A
+    private String style; // possible values: primary, danger%0A
     priv

Add ButtonElement.style in BlockKit