microsoft / BotFramework-Emulator

A desktop application that allows users to locally test and debug chat bots built with the Bot Framework SDK.
https://aka.ms/botemulator
MIT License
1.81k stars 752 forks source link

Not able to get the attachment in the backend #2405

Closed rahulyadav97185966 closed 1 year ago

rahulyadav97185966 commented 1 year ago

Version

v4

Describe the bug

Hi Team,

I developed a bot that is currently deployed in MS Teams, For one use case I need to attach an attachment in it, I am able to attach the document using the "attach icon", But when I copy-paste the document directly into a chat, then I am not able to do Since in the backend I am not able to get any response.

In the backend we are getting the response in stepContext.context.activity.attachments when I attach a document through the attachment icon, But when I Copy and Paste it into the chat stepContext.context.activity.attachments are getting as null.

dmvtech commented 1 year ago

Closing in lieu of https://github.com/microsoft/botframework-sdk/issues/6560