Skip to content

Commit

Permalink
Facebook buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
docwho2 committed Aug 5, 2024
1 parent 1709331 commit 4ebed9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ChatGPT/src/main/java/cloud/cleo/squareup/ChatGPTLambda.java
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,10 @@ private ImageResponseCard buildWelcomeCard() {
.withTitle("Welcome to Copper Fox Gifts")
.withImageUrl("https://www.copperfoxgifts.com/logo.png")
.withSubtitle("Ask us anything or use a quick action below")
// Messenger will only display 3 buttons
.withButtons(List.of(
Button.builder().withText("Hours").withValue("What are you business hours?").build(),
Button.builder().withText("Location").withValue("What is your address and driving directions?").build(),
//Button.builder().withText("Location").withValue("What is your address and driving directions?").build(),
Button.builder().withText("Person").withValue("Please hand this conversation over to a person").build(),
Button.builder().withText("Private Shopping").withValue("Info about Private Shopping and link").build()
).toArray(Button[]::new))
Expand Down

0 comments on commit 4ebed9d

Please sign in to comment.