Skip to content

Commit

Permalink
Update PetStoreAssistantBot.java
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl committed Jan 5, 2024
1 parent 4ed246b commit 7d10fd7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ private CompletableFuture<Void> getDebug(TurnContext turnContext, String text, A

if (text.contains("ball"))
{
String jsonString = "{\"type\":\"image\",\"id\":\"image-ball\",\"data\":{\"url\": \"https://raw.githubusercontent.com/chtrembl/staticcontent/master/dog-toys/ball.jpg?raw=true\",\"alt\": \"This is a ball\"}}";
String jsonString = "{\"type\":\"image\",\"id\":\"image-ball\",\"data\":{\"url\": \"https://raw.githubusercontent.com/chtrembl/staticcontent/master/dog-toys/ball.jpg?raw=true\",\"alt\": \"This is a ball\",\"alt\": \"This is a ball blah blah blah, This is a ball blah blah blah\"}}";
Attachment attachment = new Attachment();
attachment.setContentType("application/json");

Expand Down

0 comments on commit 7d10fd7

Please sign in to comment.