Skip to content

Commit

Permalink
context open
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobasco99 committed Jun 26, 2024
1 parent 732dcda commit 7c38cda
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ private Response AskNextQuestion(String surveyDoneString, boolean firstMessage){
if(!answerOptions.isEmpty())
response.put("interactiveElements", answerOptions);
response.put("channel", channel);
response.put("closeContext", false);
} else {
response.put("text", messageText);
}
Expand Down Expand Up @@ -441,6 +442,7 @@ private void handleRestful(boolean firstMessage, JSONObject response, String nex
if(!answerOptions.isEmpty())
response.put("interactiveElements", answerOptions);
response.put("channel", channel);
response.put("closeContext", false);
} else {
response.put("text", skipText + messageText);
}
Expand Down

0 comments on commit 7c38cda

Please sign in to comment.