MicrosoftDocs / composer-docs

Public sync of existing composer-docs-pr repo
Creative Commons Attribution 4.0 International
2 stars 5 forks source link

Your suggested code doesn't work, to view the image: #204

Open Goonerjon123 opened 1 year ago

Goonerjon123 commented 1 year ago

Enter -${ShowImage(dialog.attachments[0].contentUrl, dialog.attachments[0].contentType)} into the prompt field.

This function "Show Image" is not recognised in your own Bot Framework composer. What's the solution for displaying an image that a user has uploaded to the Bot? I can access the ContentURL and _type parameters.

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

JonathanFingold commented 1 year ago

@Goonerjon123 - Looks like a bug in the sample. Can you file an issue in the samples repo? Once the sample is updated, I can fix the description in the article to match.