microsoft / botbuilder-dotnet

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.
https://github.com/Microsoft/botframework
MIT License
872 stars 479 forks source link

The Bot Framework receives an empty activity when sending an attachment from OneDrive through MS Teams on Android #6812

Closed oneto20 closed 1 week ago

oneto20 commented 3 months ago

Version

4.22.7

Describe the bug

During the testing of an application using the BotFramework SDK, we detected that when sending an attachment from OneDrive through MS Teams Android to bot, it receives an empty activity.

To Reproduce

Steps to reproduce the behavior:

  1. Send an attachment from OneDrive through MS Teams Android.
  2. Check received activity on Bot Framework
  3. See error

Expected behavior

Receive a activity with OneDrive attachment.

Screenshots

image MS Teams Android

Additional context

Activity message

{
  "type": "message",
  "timestamp": "2024-07-05T19:26:58.8963731Z",
  "localTimestamp": "2024-07-05T16:26:58.8963731-03:00",
  "id": "172020...",
  "channelId": "msteams",
  "serviceUrl": "https://smba.trafficmanager.net/amer/",
  "from": {
    "id": "29:1nS-4GF_IkhsI1n...",
    "name": "Desenv",
    "aadObjectId": "c6151835..."
  },
  "conversation": {
    "conversationType": "personal",
    "tenantId": "14f1526...",
    "id": "a:1yaXqIfZMMz..."
  },
  "recipient": {
    "id": "28:24...",
    "name": "VoxBot3"
  },
  "entities": [
    {
      "locale": "pt-BR",
      "country": "BR",
      "platform": "Android",
      "timezone": "America/Sao_Paulo",
      "type": "clientInfo"
    }
  ],
  "channelData": {
    "tenant": {
      "id": "14f1526..."
    }
  },
  "locale": "pt-BR",
  "localTimezone": "America/Sao_Paulo"
}
tracyboehrer commented 1 week ago

This isn't something Bot Framework controls. Contact Teams support. Either the Teams Sample repo, or Teams AI SDK.