Welcome to the Bot Framework SDK for .NET repository, which is the home for the libraries and packages that enable developers to build sophisticated bot applications using .NET.
File attachments are not sent to the bot endpoint when in a teams team chat thread.
To Reproduce
Setup a teams bot
Use ngrok or any tool to inspect the inbound request
Interact with the bot in a teams team channel
Inspect the payload, the attachments fields is not populated with the file metadata
Expected behavior
It should populate the attachment field with the uploaded file. I've included the json payloads for both teams team chat (which doesn't work) and direct messaging the bot (which does work)
Version
Latest
Describe the bug
File attachments are not sent to the bot endpoint when in a teams team chat thread.
To Reproduce
attachments
fields is not populated with the file metadataExpected behavior
It should populate the
attachment
field with the uploaded file. I've included the json payloads for both teams team chat (which doesn't work) and direct messaging the bot (which does work)Teams team chat (incorrect behaviour):
Direct message (correct behaviour):
Screenshots
None
Additional context
None