Skip to content

Commit

Permalink
FlowButton fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brppe authored and brppe committed Oct 18, 2023
1 parent 7f913a7 commit c1eb9cd
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,19 @@ public class FlowButton extends Button {
*
* @param text the text
*/
public FlowButton(String text, long flowId, String flowAction, String navigateScreen) {
public FlowButton(@JsonProperty("text") String text,
@JsonProperty("flow_id") long flowId,
@JsonProperty("flow_action") String flowAction,
@JsonProperty("navigate_screen") String navigateScreen) {
super(ButtonType.FLOW, text);
this.flowId = flowId;
this.flowAction = flowAction;
this.navigateScreen = navigateScreen;
}

public FlowButton() {
super(ButtonType.FLOW);
}


public Long getFlowId() {
Expand Down

0 comments on commit c1eb9cd

Please sign in to comment.