Skip to content

Commit

Permalink
Update PetStoreAssistantBot.java
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl committed Sep 28, 2023
1 parent 7595327 commit 7ae82ac
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ public class PetStoreAssistantBot extends ActivityHandler {

@Override
protected CompletableFuture<Void> 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);
}

Expand Down

0 comments on commit 7ae82ac

Please sign in to comment.