From 7ae82ac18d7f32fda7752ca513078f1c07e6325e Mon Sep 17 00:00:00 2001 From: Chris Tremblay Date: Thu, 28 Sep 2023 15:26:09 -0400 Subject: [PATCH] Update PetStoreAssistantBot.java --- .../com/chtrembl/petstoreassistant/PetStoreAssistantBot.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/PetStoreAssistantBot.java b/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/PetStoreAssistantBot.java index 73296831..2d4813ec 100644 --- a/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/PetStoreAssistantBot.java +++ b/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/PetStoreAssistantBot.java @@ -26,8 +26,9 @@ public class PetStoreAssistantBot extends ActivityHandler { @Override protected CompletableFuture onMessageActivity(TurnContext turnContext) { + return turnContext.sendActivity( - MessageFactory.text("Echo: " + turnContext.getActivity().getText()) + MessageFactory.text("Echo: " + turnContext.getActivity().getText() + " channeldata:" + turnContext.getActivity().getChannelData() + " entities:" + turnContext.getActivity().getEntities().toString();) ).thenApply(sendResult -> null); }